Spaces:
Running
on
Zero
Running
on
Zero
upload app
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...")
|
| 579 |
-
image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'], height=
|
| 580 |
|
| 581 |
with gr.Accordion("Advanced Settings (PDF)", open=False):
|
| 582 |
max_new_tokens = gr.Slider(minimum=512, maximum=8192, value=1024, step=256, label="Max New Tokens")
|
|
|
|
| 576 |
)
|
| 577 |
|
| 578 |
prompt_input = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
| 579 |
+
image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'], height=290)
|
| 580 |
|
| 581 |
with gr.Accordion("Advanced Settings (PDF)", open=False):
|
| 582 |
max_new_tokens = gr.Slider(minimum=512, maximum=8192, value=1024, step=256, label="Max New Tokens")
|