Spaces:
Sleeping
Sleeping
clementsan
commited on
Commit
•
e384a1c
1
Parent(s):
6f396af
Fix temperature minimum
Browse files
app.py
CHANGED
@@ -318,7 +318,7 @@ def demo():
|
|
318 |
label="LLM models", value = list_llm_simple[0], type="index", info="Choose your LLM model")
|
319 |
with gr.Accordion("Advanced options - LLM model", open=False):
|
320 |
with gr.Row():
|
321 |
-
slider_temperature = gr.Slider(minimum = 0.
|
322 |
with gr.Row():
|
323 |
slider_maxtokens = gr.Slider(minimum = 224, maximum = 4096, value=1024, step=32, label="Max Tokens", info="Model max tokens", interactive=True)
|
324 |
with gr.Row():
|
|
|
318 |
label="LLM models", value = list_llm_simple[0], type="index", info="Choose your LLM model")
|
319 |
with gr.Accordion("Advanced options - LLM model", open=False):
|
320 |
with gr.Row():
|
321 |
+
slider_temperature = gr.Slider(minimum = 0.01, maximum = 1.0, value=0.7, step=0.1, label="Temperature", info="Model temperature", interactive=True)
|
322 |
with gr.Row():
|
323 |
slider_maxtokens = gr.Slider(minimum = 224, maximum = 4096, value=1024, step=32, label="Max Tokens", info="Model max tokens", interactive=True)
|
324 |
with gr.Row():
|