Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
gr.load("models/google/vit-base-patch16-224").launch()
|
| 4 |
-
|
| 5 |
iface = gr.Interface(
|
| 6 |
title="Image recognition",
|
| 7 |
description="Upload an image you want to categorize.",
|
|
@@ -9,5 +7,6 @@ iface = gr.Interface(
|
|
| 9 |
live=True,
|
| 10 |
capture_session=True,
|
| 11 |
)
|
|
|
|
| 12 |
|
| 13 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
|
|
|
| 3 |
iface = gr.Interface(
|
| 4 |
title="Image recognition",
|
| 5 |
description="Upload an image you want to categorize.",
|
|
|
|
| 7 |
live=True,
|
| 8 |
capture_session=True,
|
| 9 |
)
|
| 10 |
+
gr.load("models/google/vit-base-patch16-224").launch()
|
| 11 |
|
| 12 |
iface.launch()
|