Spaces:
Runtime error
Runtime error
comment out examples
Browse files
app.py
CHANGED
@@ -1,16 +1,17 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
examples = [
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
]
|
10 |
|
11 |
|
12 |
# works w/ gradio v4
|
13 |
|
14 |
-
demo = gr.load("google/vit-base-patch16-224", src="models", examples=examples)
|
|
|
15 |
|
16 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
# examples = [
|
4 |
+
# 'ladybug.jpg',
|
5 |
+
# 'revolver.jpg',
|
6 |
+
# 'automotive.jpg',
|
7 |
+
# 'frog01.jpg',
|
8 |
+
# 'eagle.jpg'
|
9 |
+
# ]
|
10 |
|
11 |
|
12 |
# works w/ gradio v4
|
13 |
|
14 |
+
# demo = gr.load("google/vit-base-patch16-224", src="models", examples=examples) # with examples
|
15 |
+
demo = gr.load("google/vit-base-patch16-224", src="models") # no examples
|
16 |
|
17 |
demo.launch()
|