Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,8 @@ app = gr.Interface(
|
|
37 |
title="Story and Image Generator",
|
38 |
fn=text_and_image_generator,
|
39 |
inputs = [gr.inputs.Textbox(label="Enter your prompt to generate a story"),
|
40 |
-
gr.inputs.Slider(1,1000,label="Story length"),gr.inputs.Textbox(type="password",label="Cohere API key"),gr.inputs.Textbox(type="password",label="
|
41 |
-
outputs= [gr.outputs.Textbox(label="Story title"),gr.outputs.Textbox(label="Story"),gr.outputs.Image(type="pil",label="Image based on the Generated story")]
|
42 |
)
|
43 |
|
44 |
app.launch()
|
|
|
37 |
title="Story and Image Generator",
|
38 |
fn=text_and_image_generator,
|
39 |
inputs = [gr.inputs.Textbox(label="Enter your prompt to generate a story"),
|
40 |
+
gr.inputs.Slider(1,1000,label="Story length"),gr.inputs.Textbox(type="password",label="Cohere API key"),gr.inputs.Textbox(type="password",label="ClipDrop API key")],
|
41 |
+
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"
|
42 |
)
|
43 |
|
44 |
app.launch()
|