Spaces:
Runtime error
Runtime error
jdoexbox360
commited on
Commit
·
1b1006b
1
Parent(s):
305a962
Update app.py
Browse files
app.py
CHANGED
@@ -21,5 +21,5 @@ def output(prompt, output_length):
|
|
21 |
return convo
|
22 |
convo = ''
|
23 |
|
24 |
-
iface = gr.Interface(fn=output, inputs=["text", Slider(minimum=
|
25 |
iface.launch()
|
|
|
21 |
return convo
|
22 |
convo = ''
|
23 |
|
24 |
+
iface = gr.Interface(fn=output, inputs=["text", Slider(minimum=1.0, maximum=1000.0, step=1.0, default=50.0, label="Output Length")], outputs="text")
|
25 |
iface.launch()
|