Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.",
|
8 |
+
theme="Monochrome",
|
9 |
+
live=True,
|
10 |
+
capture_session=True,
|
11 |
+
)
|
12 |
+
|
13 |
+
iface.launch()
|