Ahsen Khaliq commited on
Commit
291e602
1 Parent(s): 3911fce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -92,6 +92,7 @@ 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. Read more at the links below."
93
  article = "<p style='text-align: center'><a href='https://github.com/haltakov/natural-language-youtube-search'>Github Repo</a></p>"
94
 
 
95
  gr.Interface(
96
  inference,
97
  ["video","text"],
@@ -99,7 +100,8 @@ gr.Interface(
99
  title=title,
100
  description=description,
101
  article=article,
102
- enable_queue=True
 
103
  ).launch(debug=True)
104
 
105
 
 
92
  description = "Gradio demo for using OpenAI's CLIP to search inside videos. To use it, simply upload your video and add your text. Read more at the links below."
93
  article = "<p style='text-align: center'><a href='https://github.com/haltakov/natural-language-youtube-search'>Github Repo</a></p>"
94
 
95
+ examples=[['test.mp4']]
96
  gr.Interface(
97
  inference,
98
  ["video","text"],
 
100
  title=title,
101
  description=description,
102
  article=article,
103
+ enable_queue=True,
104
+ examples=examples
105
  ).launch(debug=True)
106
 
107