Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -315,13 +315,13 @@ pdf_examples = [["examples/sample-doc.pdf"]]
|
|
| 315 |
|
| 316 |
with gr.Blocks(theme=teals, css=css) as demo:
|
| 317 |
pdf_state = gr.State(value=get_initial_pdf_state())
|
| 318 |
-
gr.Markdown("# **Qwen3-VL-
|
| 319 |
with gr.Row():
|
| 320 |
with gr.Column(scale=2):
|
| 321 |
with gr.Tabs():
|
| 322 |
with gr.TabItem("Image Inference"):
|
| 323 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 324 |
-
image_upload = gr.
|
| 325 |
image_submit = gr.Button("Submit", variant="primary")
|
| 326 |
gr.Examples(examples=image_examples, inputs=[image_query, image_upload])
|
| 327 |
|
|
|
|
| 315 |
|
| 316 |
with gr.Blocks(theme=teals, css=css) as demo:
|
| 317 |
pdf_state = gr.State(value=get_initial_pdf_state())
|
| 318 |
+
gr.Markdown("# **Qwen3-VL-Demo**")
|
| 319 |
with gr.Row():
|
| 320 |
with gr.Column(scale=2):
|
| 321 |
with gr.Tabs():
|
| 322 |
with gr.TabItem("Image Inference"):
|
| 323 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 324 |
+
image_upload = gr.Image(type="pil", label="Image", height=290)
|
| 325 |
image_submit = gr.Button("Submit", variant="primary")
|
| 326 |
gr.Examples(examples=image_examples, inputs=[image_query, image_upload])
|
| 327 |
|