Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -576,7 +576,7 @@ def create_gradio_interface():
|
|
| 576 |
)
|
| 577 |
|
| 578 |
prompt_input = gr.Textbox(label="Query Input", placeholder="Enter your query here...", value="Examine the image")
|
| 579 |
-
image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'])
|
| 580 |
|
| 581 |
with gr.Accordion("Advanced Settings (PDF)", open=False):
|
| 582 |
max_new_tokens = gr.Slider(minimum=512, maximum=8192, value=2048, step=256, label="Max New Tokens")
|
|
|
|
| 576 |
)
|
| 577 |
|
| 578 |
prompt_input = gr.Textbox(label="Query Input", placeholder="Enter your query here...", value="Examine the image")
|
| 579 |
+
image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'], height=300)
|
| 580 |
|
| 581 |
with gr.Accordion("Advanced Settings (PDF)", open=False):
|
| 582 |
max_new_tokens = gr.Slider(minimum=512, maximum=8192, value=2048, step=256, label="Max New Tokens")
|