Tonic commited on
Commit
0d2403d
1 Parent(s): 44b9674

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,8 +71,8 @@ iface = gr.Interface(
71
  inputs=[
72
  gr.Textbox(label="Your Message", type="text", lines=3),
73
  gr.Textbox(label="Introduce a Character Here or Set a Scene (system prompt)", type="text", lines=2),
74
- gr.Slider(label="Max new tokens", value=1200, minimum=25, maximum=2056, step=1),
75
- gr.Slider(label="Temperature", value=0.7, minimum=0.05, maximum=1.0, step=0.05),
76
  gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.01, maximum=0.99, step=0.05),
77
  gr.Slider(label="Repetition penalty", value=1.9, minimum=1.0, maximum=2.0, step=0.05)
78
  ],
 
71
  inputs=[
72
  gr.Textbox(label="Your Message", type="text", lines=3),
73
  gr.Textbox(label="Introduce a Character Here or Set a Scene (system prompt)", type="text", lines=2),
74
+ gr.Slider(label="Max new tokens", value=125, minimum=25, maximum=256, step=1),
75
+ gr.Slider(label="Temperature", value=0.1, minimum=0.05, maximum=1.0, step=0.05),
76
  gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.01, maximum=0.99, step=0.05),
77
  gr.Slider(label="Repetition penalty", value=1.9, minimum=1.0, maximum=2.0, step=0.05)
78
  ],