Spaces:
Runtime error
Runtime error
Update temperature slider increment.
Browse files
app.py
CHANGED
@@ -195,7 +195,7 @@ with gr.Blocks(css=css) as demo:
|
|
195 |
gr_max_len = gr.Slider(minimum=1, maximum=64, value=32,
|
196 |
step=1, interactive=True, label="Max # of words")
|
197 |
gr_temperature = gr.Slider(
|
198 |
-
minimum=0.0, maximum=1.0, value=0.0, interactive=True, label="Temperature (0 for deterministic, higher for more randomness)")
|
199 |
|
200 |
gallery = gr.Gallery(
|
201 |
value=[Image.open(e) for e in examples], label="Example Conversations", show_label=True, elem_id="gallery",
|
|
|
195 |
gr_max_len = gr.Slider(minimum=1, maximum=64, value=32,
|
196 |
step=1, interactive=True, label="Max # of words")
|
197 |
gr_temperature = gr.Slider(
|
198 |
+
minimum=0.0, maximum=1.0, value=0.0, step=0.1, interactive=True, label="Temperature (0 for deterministic, higher for more randomness)")
|
199 |
|
200 |
gallery = gr.Gallery(
|
201 |
value=[Image.open(e) for e in examples], label="Example Conversations", show_label=True, elem_id="gallery",
|