Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ iface = gr.Interface(
|
|
49 |
fn=generate_text,
|
50 |
inputs=[
|
51 |
gr.Textbox(lines=5, label="Prompt"),
|
52 |
-
gr.Slider(minimum=
|
53 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature"),
|
54 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.9, step=0.1, label="Top-p")
|
55 |
],
|
|
|
49 |
fn=generate_text,
|
50 |
inputs=[
|
51 |
gr.Textbox(lines=5, label="Prompt"),
|
52 |
+
gr.Slider(minimum=1, maximum=8192, value=100, step=10, label="Max Length"),
|
53 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature"),
|
54 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.9, step=0.1, label="Top-p")
|
55 |
],
|