markredito commited on
Commit
b90135f
·
verified ·
1 Parent(s): 83499e5

added "=" on `temperature_slider`, `maximum`

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,7 +128,7 @@ with gr.Blocks() as demo:
128
 
129
  with gr.Accordion("Advanced Options", open=False):
130
  max_tokens_slider = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
131
- temperature_slider = gr.Slider(minimum=0.1, maximum 4.0, value=0.7, step=0.1, label="Temperature")
132
  top_p_slider = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
133
 
134
  # Initialize the Chatbot without explicit rendering of the chatbot block
 
128
 
129
  with gr.Accordion("Advanced Options", open=False):
130
  max_tokens_slider = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
131
+ temperature_slider = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature")
132
  top_p_slider = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
133
 
134
  # Initialize the Chatbot without explicit rendering of the chatbot block