prithivMLmods commited on
Commit
f856c52
·
verified ·
1 Parent(s): 7ced8f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")