Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,10 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
# Load the private Space (replace 'your-username/private-space' with your actual private Space path)
|
| 4 |
-
iface = gr.Interface.load("huggingface/shivanis14/FastMotionDetection")
|
| 5 |
-
print(type(iface))
|
| 6 |
# Launch the interface
|
| 7 |
-
iface.launch(share=True)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
gr.Interface.load(
|
| 3 |
+
"huggingface/google/vit-base-patch16-224",
|
| 4 |
+
examples=["alligator.jpg", "laptop.jpg"]).launch(share=True)
|
| 5 |
|
| 6 |
# Load the private Space (replace 'your-username/private-space' with your actual private Space path)
|
| 7 |
+
#iface = gr.Interface.load("huggingface/shivanis14/FastMotionDetection")
|
| 8 |
+
#print(type(iface))
|
| 9 |
# Launch the interface
|
| 10 |
+
#iface.launch(share=True)
|