Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,12 +91,11 @@ def inference(video, text):
|
|
| 91 |
title = "Video Search"
|
| 92 |
description = "Gradio demo for using OpenAI's CLIP to search inside videos. To use it, simply upload your video and add your text. Tororo's demo for Video Analytics."
|
| 93 |
|
| 94 |
-
examples=[['test.mp4',"gas station"]]
|
| 95 |
gr.Interface(
|
| 96 |
inference,
|
| 97 |
["video","text"],
|
| 98 |
[gr.outputs.Image(type="pil", label="Output"),"text"],
|
| 99 |
title=title,
|
| 100 |
-
description=description
|
| 101 |
-
examples=examples
|
| 102 |
).launch(debug=True,enable_queue=True)
|
|
|
|
| 91 |
title = "Video Search"
|
| 92 |
description = "Gradio demo for using OpenAI's CLIP to search inside videos. To use it, simply upload your video and add your text. Tororo's demo for Video Analytics."
|
| 93 |
|
| 94 |
+
#examples=[['test.mp4',"gas station"]]
|
| 95 |
gr.Interface(
|
| 96 |
inference,
|
| 97 |
["video","text"],
|
| 98 |
[gr.outputs.Image(type="pil", label="Output"),"text"],
|
| 99 |
title=title,
|
| 100 |
+
description=description
|
|
|
|
| 101 |
).launch(debug=True,enable_queue=True)
|