Spaces:
Sleeping
Sleeping
ganchengguang
commited on
Commit
•
8f60dd1
1
Parent(s):
dba6524
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ demo = gr.ChatInterface(
|
|
46 |
gr.Dropdown(label="Task", choices=list(options['English'].keys())),
|
47 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
48 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
49 |
-
gr.Slider(minimum=0.1,
|
50 |
gr.Slider(
|
51 |
minimum=0.1,
|
52 |
maximum=1.0,
|
|
|
46 |
gr.Dropdown(label="Task", choices=list(options['English'].keys())),
|
47 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
48 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
49 |
+
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
50 |
gr.Slider(
|
51 |
minimum=0.1,
|
52 |
maximum=1.0,
|