Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
·
735a1eb
1
Parent(s):
7d66728
修正temperature滑动条
Browse files- ChuanhuChatbot.py +1 -1
ChuanhuChatbot.py
CHANGED
@@ -106,7 +106,7 @@ with gr.Blocks(css=customCSS) as demo:
|
|
106 |
with gr.Accordion("参数", open=False):
|
107 |
top_p = gr.Slider(minimum=-0, maximum=1.0, value=1.0, step=0.05,
|
108 |
interactive=True, label="Top-p (nucleus sampling)",)
|
109 |
-
temperature = gr.Slider(minimum=-0, maximum=
|
110 |
step=0.1, interactive=True, label="Temperature",)
|
111 |
|
112 |
gr.Markdown(description)
|
|
|
106 |
with gr.Accordion("参数", open=False):
|
107 |
top_p = gr.Slider(minimum=-0, maximum=1.0, value=1.0, step=0.05,
|
108 |
interactive=True, label="Top-p (nucleus sampling)",)
|
109 |
+
temperature = gr.Slider(minimum=-0, maximum=2.0, value=1.0,
|
110 |
step=0.1, interactive=True, label="Temperature",)
|
111 |
|
112 |
gr.Markdown(description)
|