Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -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")
|
| 350 |
video_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 351 |
gr.Examples(
|
| 352 |
examples=video_examples,
|
|
@@ -362,7 +362,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 362 |
with gr.Column():
|
| 363 |
with gr.Column(elem_classes="canvas-output"):
|
| 364 |
gr.Markdown("## Output")
|
| 365 |
-
raw_output = gr.Textbox(label="Raw Output Stream", interactive=False,
|
| 366 |
|
| 367 |
with gr.Accordion("(Result.md)", open=False):
|
| 368 |
formatted_output = gr.Markdown(label="(Result.md)")
|
|
|
|
| 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=400)
|
| 350 |
video_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 351 |
gr.Examples(
|
| 352 |
examples=video_examples,
|
|
|
|
| 362 |
with gr.Column():
|
| 363 |
with gr.Column(elem_classes="canvas-output"):
|
| 364 |
gr.Markdown("## Output")
|
| 365 |
+
raw_output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=5)
|
| 366 |
|
| 367 |
with gr.Accordion("(Result.md)", open=False):
|
| 368 |
formatted_output = gr.Markdown(label="(Result.md)")
|