Commit
Β·
96f4763
1
Parent(s):
2bfaffc
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import numpy as np
|
|
7 |
from sklearn.model_selection import train_test_split
|
8 |
import gradio as gr
|
9 |
import matplotlib.pyplot as plt
|
|
|
10 |
|
11 |
|
12 |
#Data preparation
|
@@ -48,5 +49,6 @@ with gr.Blocks(title=title) as demo:
|
|
48 |
btn.click(visualize_input_data, outputs= gr.Plot(label='Visualizing input dataset') )
|
49 |
|
50 |
model_reloaded = timm.create_model('hf_hub:sklearn-docs/anomaly-detection', pretrained=True)
|
|
|
51 |
gr.Markdown( f"## In progress")
|
52 |
demo.launch()
|
|
|
7 |
from sklearn.model_selection import train_test_split
|
8 |
import gradio as gr
|
9 |
import matplotlib.pyplot as plt
|
10 |
+
import timm
|
11 |
|
12 |
|
13 |
#Data preparation
|
|
|
49 |
btn.click(visualize_input_data, outputs= gr.Plot(label='Visualizing input dataset') )
|
50 |
|
51 |
model_reloaded = timm.create_model('hf_hub:sklearn-docs/anomaly-detection', pretrained=True)
|
52 |
+
|
53 |
gr.Markdown( f"## In progress")
|
54 |
demo.launch()
|