Spaces:
Runtime error
Runtime error
Commit ·
1b2215e
1
Parent(s): ee57b4a
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
-
gr.Interface.
|
| 4 |
-
"huggingface/google/vit-base-patch16-224"
|
| 5 |
-
).launch()
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
|
| 3 |
import gradio as gr
|
| 4 |
+
import fastai
|
| 5 |
|
| 6 |
+
gr.Interface(fn=predict,inputs="image",outputs="label").launch()
|
|
|
|
|
|