tchans123 commited on
Commit
6a6af53
1 Parent(s): 30a7971
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ iface = gr.Interface(
14
  fn=generate_text,
15
  inputs=[
16
  gr.Textbox(lines=3, placeholder="Enter your prompt here...", label="Prompt"),
17
- gr.Slider(minimum=10, maximum=100, value=50, label="Max Length"),
18
  ],
19
  outputs=gr.Textbox(label="Generated Text"),
20
  title="GPT-2 Text Generator (OUTDATED)",
 
14
  fn=generate_text,
15
  inputs=[
16
  gr.Textbox(lines=3, placeholder="Enter your prompt here...", label="Prompt"),
17
+ gr.Slider(minimum=10, maximum=250, value=100, label="Max Length"),
18
  ],
19
  outputs=gr.Textbox(label="Generated Text"),
20
  title="GPT-2 Text Generator (OUTDATED)",