prithivMLmods commited on
Commit
5c46319
·
verified ·
1 Parent(s): d5531df

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -354,7 +354,7 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
354
  with gr.Group(visible=False) as prompt_group:
355
  custom_prompt = gr.Textbox(label="Custom Query / Prompt", placeholder="Extract text...", lines=2)
356
 
357
- with gr.Accordion("Advanced Generation Parameters", open=False):
358
  max_new_tokens = gr.Slider(minimum=128, maximum=8192, value=2048, step=128, label="Max New Tokens")
359
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, label="Temperature")
360
  top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.9, step=0.05, label="Top P")
 
354
  with gr.Group(visible=False) as prompt_group:
355
  custom_prompt = gr.Textbox(label="Custom Query / Prompt", placeholder="Extract text...", lines=2)
356
 
357
+ with gr.Accordion("Advanced Settings", open=False):
358
  max_new_tokens = gr.Slider(minimum=128, maximum=8192, value=2048, step=128, label="Max New Tokens")
359
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, label="Temperature")
360
  top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.9, step=0.05, label="Top P")