prithivMLmods commited on
Commit
d91e909
·
verified ·
1 Parent(s): 8f17dce

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -389,12 +389,12 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
389
  with gr.Tabs():
390
  with gr.TabItem("Image Inference"):
391
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
392
- image_upload = gr.Image(type="pil", label="Image", height=290)
393
  image_submit = gr.Button("Submit", variant="primary")
394
  gr.Examples(examples=image_examples, inputs=[image_query, image_upload])
395
  with gr.TabItem("Video Inference"):
396
  video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
397
- video_upload = gr.Video(label="Video", height=290)
398
  video_submit = gr.Button("Submit", variant="primary")
399
  gr.Examples(examples=video_examples, inputs=[video_query, video_upload])
400
  with gr.Accordion("Advanced options", open=False):
 
389
  with gr.Tabs():
390
  with gr.TabItem("Image Inference"):
391
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
392
+ image_upload = gr.Image(type="pil", label="Upload Image", height=290)
393
  image_submit = gr.Button("Submit", variant="primary")
394
  gr.Examples(examples=image_examples, inputs=[image_query, image_upload])
395
  with gr.TabItem("Video Inference"):
396
  video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
397
+ video_upload = gr.Video(label="Upload Video (<= 30s)", height=290)
398
  video_submit = gr.Button("Submit", variant="primary")
399
  gr.Examples(examples=video_examples, inputs=[video_query, video_upload])
400
  with gr.Accordion("Advanced options", open=False):