Daemontatox commited on
Commit
9dcc192
·
verified ·
1 Parent(s): 55d32ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -153,11 +153,11 @@ with gr.Blocks(css=CSS, theme=gr.themes.Soft()) as demo:
153
 
154
  with gr.Accordion("⚙️ Settings", open=False):
155
  system_prompt = gr.TextArea(value=DEFAULT_SYSTEM_PROMPT, label="System Instructions")
156
- temperature = gr.Slider(0, 1, value=0.6, label="Creativity (Temperature)")
157
  max_tokens = gr.Slider(128, 8192, 4096, label="Max Response Length")
158
  top_p = gr.Slider(0.0, 1.0, value=0.95, label="Top P (Nucleus Sampling)")
159
  top_k = gr.Slider(0, 100, value=50, label="Top K")
160
- repetition_penalty = gr.Slider(0.5, 2.0, value=1.1, label="Repetition Penalty")
161
 
162
  clear = gr.Button("Clear History")
163
 
 
153
 
154
  with gr.Accordion("⚙️ Settings", open=False):
155
  system_prompt = gr.TextArea(value=DEFAULT_SYSTEM_PROMPT, label="System Instructions")
156
+ temperature = gr.Slider(0, 1, value=0.8, label="Creativity (Temperature)")
157
  max_tokens = gr.Slider(128, 8192, 4096, label="Max Response Length")
158
  top_p = gr.Slider(0.0, 1.0, value=0.95, label="Top P (Nucleus Sampling)")
159
  top_k = gr.Slider(0, 100, value=50, label="Top K")
160
+ repetition_penalty = gr.Slider(0.5, 2.0, value=1.2, label="Repetition Penalty")
161
 
162
  clear = gr.Button("Clear History")
163