archit11 commited on
Commit
03dd010
1 Parent(s): 2ef66d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=10, maximum=1000, 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
  ],
 
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
  ],