Spaces:
Sleeping
Sleeping
Reuben Tan
commited on
Commit
·
2135545
1
Parent(s):
e6a77d4
add example
Browse files
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 |
-
|
247 |
gr.Examples(examples=[
|
248 |
-
[f"
|
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])
|