prithivMLmods commited on
Commit
1648a5e
·
verified ·
1 Parent(s): c902775

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -397,13 +397,13 @@ with gr.Blocks(theme=thistle_theme, css=css) as demo:
397
  with gr.Tabs():
398
  with gr.TabItem("Image Inference"):
399
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
400
- image_upload = gr.Image(type="pil", label="Image", height=290)
401
  image_submit = gr.Button("Submit", variant="primary")
402
  gr.Examples(examples=image_examples, inputs=[image_query, image_upload])
403
 
404
  with gr.TabItem("Video Inference"):
405
  video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
406
- video_upload = gr.Video(label="Video", height=290)
407
  video_submit = gr.Button("Submit", variant="primary")
408
  gr.Examples(examples=video_examples, inputs=[video_query, video_upload])
409
 
 
397
  with gr.Tabs():
398
  with gr.TabItem("Image Inference"):
399
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
400
+ image_upload = gr.Image(type="pil", label="Upload Image", height=290)
401
  image_submit = gr.Button("Submit", variant="primary")
402
  gr.Examples(examples=image_examples, inputs=[image_query, image_upload])
403
 
404
  with gr.TabItem("Video Inference"):
405
  video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
406
+ video_upload = gr.Video(label="Upload Video(≤30s)", height=290)
407
  video_submit = gr.Button("Submit", variant="primary")
408
  gr.Examples(examples=video_examples, inputs=[video_query, video_upload])
409