Norod78 commited on
Commit
d4aa46c
1 Parent(s): 8b3392b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ demo = gr.Interface(
34
  title="TextIteratorStreamer + Gradio demo",
35
  fn=generate,
36
  inputs=[gr.Textbox(lines=5, label="Input Text"),
37
- gr.Slider(default=128,minimum=5, maximum=256, step=1, label="Maximum number of new tokens")],
38
  outputs=gr.Textbox(label="Generated Text"),
39
  allow_flagging="never"
40
  )
 
34
  title="TextIteratorStreamer + Gradio demo",
35
  fn=generate,
36
  inputs=[gr.Textbox(lines=5, label="Input Text"),
37
+ gr.Slider(value=128,minimum=5, maximum=256, step=1, label="Maximum number of new tokens")],
38
  outputs=gr.Textbox(label="Generated Text"),
39
  allow_flagging="never"
40
  )