Spaces:
Sleeping
Sleeping
mohamedsaeed823
commited on
Commit
·
08e4383
1
Parent(s):
a60c427
Add API endpoints
Browse files
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)
|