johann22 commited on
Commit
e2428ef
1 Parent(s): 1afe06d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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",