Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -338,7 +338,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 338 |
with gr.Tabs():
|
| 339 |
with gr.TabItem("Image Inference"):
|
| 340 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 341 |
-
image_upload = gr.Image(type="pil", label="Image", height=
|
| 342 |
image_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 343 |
gr.Examples(
|
| 344 |
examples=image_examples,
|
|
@@ -346,7 +346,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 346 |
)
|
| 347 |
with gr.TabItem("Video Inference"):
|
| 348 |
video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 349 |
-
video_upload = gr.Video(label="Video", height=
|
| 350 |
video_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 351 |
gr.Examples(
|
| 352 |
examples=video_examples,
|
|
|
|
| 338 |
with gr.Tabs():
|
| 339 |
with gr.TabItem("Image Inference"):
|
| 340 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 341 |
+
image_upload = gr.Image(type="pil", label="Image", height=290)
|
| 342 |
image_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 343 |
gr.Examples(
|
| 344 |
examples=image_examples,
|
|
|
|
| 346 |
)
|
| 347 |
with gr.TabItem("Video Inference"):
|
| 348 |
video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 349 |
+
video_upload = gr.Video(label="Video", height=290)
|
| 350 |
video_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 351 |
gr.Examples(
|
| 352 |
examples=video_examples,
|