Update app.py
Browse files
app.py
CHANGED
@@ -39,6 +39,7 @@ iface = gr.Interface(fn=generate,
|
|
39 |
gr.inputs.Slider(minimum=50, maximum=1000, label="Length", default=500, step=1)],
|
40 |
outputs=[gr.outputs.Textbox(type="auto", label="Generated Script")],
|
41 |
examples=[['[Promenade]', 0.9, 500], ['QUARK:', 1.2, 250], ["Commander's log, stardate 46924.5.", 0.7, 1000]],
|
|
|
42 |
title=title,
|
43 |
theme='dark-huggingface',
|
44 |
)
|
|
|
39 |
gr.inputs.Slider(minimum=50, maximum=1000, label="Length", default=500, step=1)],
|
40 |
outputs=[gr.outputs.Textbox(type="auto", label="Generated Script")],
|
41 |
examples=[['[Promenade]', 0.9, 500], ['QUARK:', 1.2, 250], ["Commander's log, stardate 46924.5.", 0.7, 1000]],
|
42 |
+
live=True,
|
43 |
title=title,
|
44 |
theme='dark-huggingface',
|
45 |
)
|