Spaces:
Running
Running
nicholasKluge
commited on
Commit
•
b1abb7e
1
Parent(s):
6666c9d
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ with gr.Blocks() as demo:
|
|
16 |
with gr.Accordion("Parameters ⚙️", open=True):
|
17 |
top_k = gr.Slider( minimum=10, maximum=100, value=50, step=5, interactive=True, label="Top-k",)
|
18 |
top_p = gr.Slider( minimum=0.1, maximum=1.0, value=0.70, step=0.05, interactive=True, label="Top-p",)
|
19 |
-
temperature = gr.Slider( minimum=0.001, maximum=2.0, value=0.
|
20 |
max_length = gr.Slider( minimum=10, maximum=500, value=100, step=10, interactive=True, label="Max Length",)
|
21 |
clear = gr.Button("Clear Conversation 🧹")
|
22 |
|
|
|
16 |
with gr.Accordion("Parameters ⚙️", open=True):
|
17 |
top_k = gr.Slider( minimum=10, maximum=100, value=50, step=5, interactive=True, label="Top-k",)
|
18 |
top_p = gr.Slider( minimum=0.1, maximum=1.0, value=0.70, step=0.05, interactive=True, label="Top-p",)
|
19 |
+
temperature = gr.Slider( minimum=0.001, maximum=2.0, value=0.1, step=0.1, interactive=True, label="Temperature",)
|
20 |
max_length = gr.Slider( minimum=10, maximum=500, value=100, step=10, interactive=True, label="Max Length",)
|
21 |
clear = gr.Button("Clear Conversation 🧹")
|
22 |
|