Spaces:
Runtime error
Runtime error
seawolf2357
commited on
Commit
•
fc59d0b
1
Parent(s):
8c6561b
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ demo = gr.ChatInterface(
|
|
75 |
additional_inputs=[
|
76 |
gr.Textbox(value="AI Assistant Role", label="System message"),
|
77 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
78 |
-
gr.Slider(minimum=0.1, maximum
|
79 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
80 |
],
|
81 |
)
|
|
|
75 |
additional_inputs=[
|
76 |
gr.Textbox(value="AI Assistant Role", label="System message"),
|
77 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
78 |
+
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"), # 수정된 부분
|
79 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
80 |
],
|
81 |
)
|