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,
|
|
@@ -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)")
|
|
|
|
| 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=400)
|
| 342 |
image_submit = gr.Button("Submit", elem_classes="submit-btn")
|
| 343 |
gr.Examples(
|
| 344 |
examples=image_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, height=500)
|
| 366 |
|
| 367 |
with gr.Accordion("(Result.md)", open=False):
|
| 368 |
formatted_output = gr.Markdown(label="(Result.md)")
|