set temperature to 0.3
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ with gr.Blocks(css=css) as demo:
|
|
138 |
good_foods = gr.Textbox(show_label=False, placeholder="Can have foods", visible=False)
|
139 |
bad_foods = gr.Textbox(show_label=False, placeholder="Can't have foods", visible=False)
|
140 |
with gr.Accordion("Advanced parameters", open=False):
|
141 |
-
temperature = gr.Slider(minimum=0, maximum=2.0, value=0, step=0.1, label="Temperature", info="Higher = more creative/chaotic")
|
142 |
max_tokens = gr.Slider(minimum=100, maximum=4096, value=1000, step=1, label="Max tokens per response")
|
143 |
context_length = gr.Slider(minimum=1, maximum=10, value=2, step=1, label="Context length", info="Number of previous messages to send to the chatbot. Be careful with high values, it can blow up the token budget quickly.")
|
144 |
|
|
|
138 |
good_foods = gr.Textbox(show_label=False, placeholder="Can have foods", visible=False)
|
139 |
bad_foods = gr.Textbox(show_label=False, placeholder="Can't have foods", visible=False)
|
140 |
with gr.Accordion("Advanced parameters", open=False):
|
141 |
+
temperature = gr.Slider(minimum=0, maximum=2.0, value=0.3, step=0.1, label="Temperature", info="Higher = more creative/chaotic")
|
142 |
max_tokens = gr.Slider(minimum=100, maximum=4096, value=1000, step=1, label="Max tokens per response")
|
143 |
context_length = gr.Slider(minimum=1, maximum=10, value=2, step=1, label="Context length", info="Number of previous messages to send to the chatbot. Be careful with high values, it can blow up the token budget quickly.")
|
144 |
|