mohamedsaeed823 commited on
Commit
08e4383
1 Parent(s): a60c427

Add API endpoints

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,4 +35,4 @@ examples = ["examples/alhamdulellah.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()
 
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(show_api=True)