Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ app = gr.Interface(
|
|
39 |
title="Story and Image Generator",
|
40 |
fn=text_and_image_generator,
|
41 |
inputs = [gr.inputs.Textbox(label="Enter your prompt to generate a story"),
|
42 |
-
gr.inputs.Slider(
|
43 |
outputs= [gr.outputs.Textbox(label="Story title"),gr.outputs.Textbox(label="Story"),gr.outputs.Image(type="pil",label="Image based on the Generated story")],theme="dark"
|
44 |
)
|
45 |
|
|
|
39 |
title="Story and Image Generator",
|
40 |
fn=text_and_image_generator,
|
41 |
inputs = [gr.inputs.Textbox(label="Enter your prompt to generate a story"),
|
42 |
+
gr.inputs.Slider(320,1000,label="Story length")],
|
43 |
outputs= [gr.outputs.Textbox(label="Story title"),gr.outputs.Textbox(label="Story"),gr.outputs.Image(type="pil",label="Image based on the Generated story")],theme="dark"
|
44 |
)
|
45 |
|