sun2dar commited on
Commit
076c97c
·
1 Parent(s): c713b58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Gradio 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")]
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()