prithivMLmods commited on
Commit
f4471c3
·
verified ·
1 Parent(s): 6d68214

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -446,7 +446,7 @@ def create_gradio_interface():
446
  prompt_input = gr.Textbox(label="Query Input", placeholder="✦︎ Enter the prompt")
447
  image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'])
448
 
449
- with gr.Accordion("Advanced Settings(pdf)", open=False):
450
  max_new_tokens = gr.Slider(minimum=512, maximum=8192, value=2048, step=256, label="Max New Tokens")
451
  temperature = gr.Slider(label="Temperature", minimum=0.1, maximum=4.0, step=0.1, value=0.6)
452
  top_p = gr.Slider(label="Top-p (nucleus sampling)", minimum=0.05, maximum=1.0, step=0.05, value=0.9)
 
446
  prompt_input = gr.Textbox(label="Query Input", placeholder="✦︎ Enter the prompt")
447
  image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'])
448
 
449
+ with gr.Accordion("Advanced Settings (PDF)", open=False):
450
  max_new_tokens = gr.Slider(minimum=512, maximum=8192, value=2048, step=256, label="Max New Tokens")
451
  temperature = gr.Slider(label="Temperature", minimum=0.1, maximum=4.0, step=0.1, value=0.6)
452
  top_p = gr.Slider(label="Top-p (nucleus sampling)", minimum=0.05, maximum=1.0, step=0.05, value=0.9)