Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
131 |
emptyBtn = gr.Button("Clear History")
|
132 |
max_length = gr.Slider(0, 32768, value=8192/2, step=1.0, label="Maximum length", interactive=True)
|
133 |
top_p = gr.Slider(0, 1, value=0.8, step=0.01, label="Top P", interactive=True)
|
134 |
-
temperature = gr.Slider(0, 1, value=0.95, step=0.01, label="Temperature", interactive=True)
|
135 |
|
136 |
history = gr.State([])
|
137 |
past_key_values = gr.State(None)
|
|
|
131 |
emptyBtn = gr.Button("Clear History")
|
132 |
max_length = gr.Slider(0, 32768, value=8192/2, step=1.0, label="Maximum length", interactive=True)
|
133 |
top_p = gr.Slider(0, 1, value=0.8, step=0.01, label="Top P", interactive=True)
|
134 |
+
temperature = gr.Slider(0.01, 1, value=0.95, step=0.01, label="Temperature", interactive=True)
|
135 |
|
136 |
history = gr.State([])
|
137 |
past_key_values = gr.State(None)
|