Spaces:
Sleeping
Sleeping
Update
Browse files
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=
|
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)",
|