litav commited on
Commit
b819af8
·
verified ·
1 Parent(s): fb8cf79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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."