Reuben Tan commited on
Commit
2135545
1 Parent(s): e6a77d4

add example

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -243,12 +243,12 @@ with gr.Blocks() as demo:
243
  text_input = gr.Textbox(label='User', placeholder='Please upload your video first.', interactive=False)
244
 
245
 
246
- '''with gr.Column():
247
  gr.Examples(examples=[
248
- [f"examples/skateboarding_dog.mp4", "What is the dog doing? "],
249
- [f"examples/birthday.mp4", "What is the boy doing? "],
250
- [f"examples/IronMan.mp4", "Is the guy in the video Iron Man? "],
251
- ], inputs=[video, text_input])'''
252
 
253
  gr.Markdown(cite_markdown)
254
  upload_button.click(upload_imgorvideo, [video, text_input, chat_state,chatbot], [video, text_input, upload_button, chat_state, img_list,chatbot])
 
243
  text_input = gr.Textbox(label='User', placeholder='Please upload your video first.', interactive=False)
244
 
245
 
246
+ with gr.Column():
247
  gr.Examples(examples=[
248
+ [f"replace_car_tire.mp4", "Describe what the person is doing."],
249
+ #[f"examples/birthday.mp4", "What is the boy doing? "],
250
+ #[f"examples/IronMan.mp4", "Is the guy in the video Iron Man? "],
251
+ ], inputs=[video, text_input])
252
 
253
  gr.Markdown(cite_markdown)
254
  upload_button.click(upload_imgorvideo, [video, text_input, chat_state,chatbot], [video, text_input, upload_button, chat_state, img_list,chatbot])