Spaces:
Runtime error
Runtime error
Locutusque
commited on
Commit
•
07f49e6
1
Parent(s):
14300ac
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ iface = gr.Interface(
|
|
36 |
fn=generate_text,
|
37 |
inputs=[
|
38 |
gr.Textbox(label="Prompt", lines=2, placeholder="Type a prompt..."),
|
39 |
-
gr.Slider(minimum=0.1, maximum=2.0, step=0.01, value=0.
|
40 |
gr.Slider(minimum=0.0, maximum=1.0, step=0.01, value=0.95, label="Top p"),
|
41 |
gr.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|
42 |
gr.Slider(minimum=1.0, maximum=2.0, step=0.01, value=1.10, label="Repetition Penalty"),
|
|
|
36 |
fn=generate_text,
|
37 |
inputs=[
|
38 |
gr.Textbox(label="Prompt", lines=2, placeholder="Type a prompt..."),
|
39 |
+
gr.Slider(minimum=0.1, maximum=2.0, step=0.01, value=0.7, label="Temperature"),
|
40 |
gr.Slider(minimum=0.0, maximum=1.0, step=0.01, value=0.95, label="Top p"),
|
41 |
gr.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|
42 |
gr.Slider(minimum=1.0, maximum=2.0, step=0.01, value=1.10, label="Repetition Penalty"),
|