Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,11 +56,15 @@ additional_inputs=[
|
|
56 |
interactive=True,
|
57 |
info="Higher values produce more diverse outputs",
|
58 |
),
|
|
|
|
|
|
|
|
|
59 |
gr.Slider(
|
60 |
label="Max new tokens",
|
61 |
value=256,
|
62 |
minimum=0,
|
63 |
-
maximum=1048,
|
64 |
step=64,
|
65 |
interactive=True,
|
66 |
info="The maximum numbers of new tokens",
|
|
|
56 |
interactive=True,
|
57 |
info="Higher values produce more diverse outputs",
|
58 |
),
|
59 |
+
mult = gr.Number(
|
60 |
+
label="Token Multiplier",
|
61 |
+
value=1,
|
62 |
+
),
|
63 |
gr.Slider(
|
64 |
label="Max new tokens",
|
65 |
value=256,
|
66 |
minimum=0,
|
67 |
+
maximum=1048*mult,
|
68 |
step=64,
|
69 |
interactive=True,
|
70 |
info="The maximum numbers of new tokens",
|