Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def predict(image: Image.Image):
|
|
16 |
demo = gr.Interface(
|
17 |
fn=predict,
|
18 |
inputs=gr.Image(type="pil"),
|
19 |
-
gradio.PlayableVideo("https://cdn-uploads.huggingface.co/production/uploads/66d6f1b3b50e35e1709bfdf7/x7Ud8PO9QPfmrTvBVcCKE.mp4")
|
20 |
outputs=[gr.Textbox(), gr.Textbox()],
|
21 |
title="Vision Transformer Model",
|
22 |
description="Upload an image to classify it using the Vision Transformer model."
|
|
|
16 |
demo = gr.Interface(
|
17 |
fn=predict,
|
18 |
inputs=gr.Image(type="pil"),
|
19 |
+
gradio.PlayableVideo("https://cdn-uploads.huggingface.co/production/uploads/66d6f1b3b50e35e1709bfdf7/x7Ud8PO9QPfmrTvBVcCKE.mp4"),
|
20 |
outputs=[gr.Textbox(), gr.Textbox()],
|
21 |
title="Vision Transformer Model",
|
22 |
description="Upload an image to classify it using the Vision Transformer model."
|