Update app.py
Browse files
app.py
CHANGED
|
@@ -53,13 +53,13 @@ additional_inputs=[
|
|
| 53 |
info="Higher values produce more diverse outputs",
|
| 54 |
),
|
| 55 |
gr.Slider(
|
| 56 |
-
label="
|
| 57 |
-
value=
|
| 58 |
minimum=0,
|
| 59 |
maximum=1048,
|
| 60 |
step=64,
|
| 61 |
interactive=True,
|
| 62 |
-
info="The maximum numbers of
|
| 63 |
),
|
| 64 |
gr.Slider(
|
| 65 |
label="Top-p (nucleus sampling)",
|
|
|
|
| 53 |
info="Higher values produce more diverse outputs",
|
| 54 |
),
|
| 55 |
gr.Slider(
|
| 56 |
+
label="Maximum Length",
|
| 57 |
+
value=2000,
|
| 58 |
minimum=0,
|
| 59 |
maximum=1048,
|
| 60 |
step=64,
|
| 61 |
interactive=True,
|
| 62 |
+
info="The maximum numbers of total tokens",
|
| 63 |
),
|
| 64 |
gr.Slider(
|
| 65 |
label="Top-p (nucleus sampling)",
|