Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
# Instead of launching the model directly, save it to a variable
|
4 |
-
model_interface = gr.
|
5 |
|
6 |
# Customize the interface with the desired template properties
|
7 |
model_interface.title = "Image classification"
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
# Instead of launching the model directly, save it to a variable
|
4 |
+
model_interface = gr.load("models/google/vit-base-patch16-224")
|
5 |
|
6 |
# Customize the interface with the desired template properties
|
7 |
model_interface.title = "Image classification"
|