AnwenHu commited on
Commit
a7cdb17
1 Parent(s): 483d723

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -295,7 +295,7 @@ def build_demo(embed_mode):
295
  ], inputs=[imagebox, textbox])
296
 
297
  with gr.Accordion("Parameters", open=True) as parameter_row:
298
- temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, interactive=True, label="Temperature",)
299
  top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.7, step=0.1, interactive=True, label="Top P",)
300
  max_output_tokens = gr.Slider(minimum=0, maximum=1024, value=512, step=64, interactive=True, label="Max output tokens",)
301
 
 
295
  ], inputs=[imagebox, textbox])
296
 
297
  with gr.Accordion("Parameters", open=True) as parameter_row:
298
+ temperature = gr.Slider(minimum=0.0, maximum=1.0, value=1.0, step=0.1, interactive=True, label="Temperature",)
299
  top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.7, step=0.1, interactive=True, label="Top P",)
300
  max_output_tokens = gr.Slider(minimum=0, maximum=1024, value=512, step=64, interactive=True, label="Max output tokens",)
301