mohamedsaeed823 commited on
Commit
a60c427
·
1 Parent(s): 3d396fa

Update add.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -28,14 +28,11 @@ def classify_video(video_path):
28
  return dict(zip(top_label, top_label_confidence))
29
 
30
  title = "Arabic Sign Language Recognition using VideoMAE"
31
- <<<<<<< HEAD
32
- examples = ["examples/الحمد لله.mp4",
33
- "examples/مع السلامه.mp4",
34
- "examples/فرصة سعيدة.mp4",]
35
  demo = gr.Interface(fn=classify_video,title=title, inputs=gr.Video(), outputs=gr.Label(num_top_classes=3), examples=examples)
36
- =======
37
- demo = gr.Interface(fn=classify_video,title=title, inputs=gr.Video(sources=["upload"]), outputs=gr.Label(num_top_classes=3))
38
- >>>>>>> 6e19139bdd46f974b55561a2c785c6b0edaeb348
39
 
40
  if __name__ == "__main__":
41
  demo.launch()
 
28
  return dict(zip(top_label, top_label_confidence))
29
 
30
  title = "Arabic Sign Language Recognition using VideoMAE"
31
+
32
+ examples = ["examples/alhamdulellah.mp4",
33
+ "examples/forsa sa3eda.mp4",
34
+ "examples/ma3a el salama.mp4",]
35
  demo = gr.Interface(fn=classify_video,title=title, inputs=gr.Video(), outputs=gr.Label(num_top_classes=3), examples=examples)
 
 
 
36
 
37
  if __name__ == "__main__":
38
  demo.launch()