Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -278,15 +278,15 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 278 |
with gr.Tabs():
|
| 279 |
with gr.TabItem("Image Inference"):
|
| 280 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 281 |
-
image_upload = gr.Image(type="pil", label="Image")
|
| 282 |
image_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 283 |
gr.Examples(
|
| 284 |
examples=image_examples,
|
| 285 |
inputs=[image_query, image_upload]
|
| 286 |
-
)
|
| 287 |
with gr.TabItem("Video Inference"):
|
| 288 |
video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 289 |
-
video_upload = gr.Video(label="Video")
|
| 290 |
video_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 291 |
gr.Examples(
|
| 292 |
examples=video_examples,
|
|
|
|
| 278 |
with gr.Tabs():
|
| 279 |
with gr.TabItem("Image Inference"):
|
| 280 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 281 |
+
image_upload = gr.Image(type="pil", label="Image", height=290)
|
| 282 |
image_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 283 |
gr.Examples(
|
| 284 |
examples=image_examples,
|
| 285 |
inputs=[image_query, image_upload]
|
| 286 |
+
)
|
| 287 |
with gr.TabItem("Video Inference"):
|
| 288 |
video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 289 |
+
video_upload = gr.Video(label="Video", height=290)
|
| 290 |
video_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 291 |
gr.Examples(
|
| 292 |
examples=video_examples,
|