Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ iface = gr.Interface(
|
|
19 |
fn=generate_text, # Replace with your actual function
|
20 |
inputs=[
|
21 |
gr.inputs.Textbox(lines=2, placeholder="Enter text here..."),
|
22 |
-
gr.inputs.Slider(minimum=10, maximum=1000, step=10, default=100, label="
|
23 |
],
|
24 |
outputs=gr.outputs.Textbox(),
|
25 |
title="Blog Post Generation App",
|
|
|
19 |
fn=generate_text, # Replace with your actual function
|
20 |
inputs=[
|
21 |
gr.inputs.Textbox(lines=2, placeholder="Enter text here..."),
|
22 |
+
gr.inputs.Slider(minimum=10, maximum=1000, step=10, default=100, label="Max length of output")
|
23 |
],
|
24 |
outputs=gr.outputs.Textbox(),
|
25 |
title="Blog Post Generation App",
|