ImagineAI-Real commited on
Commit
4697c4e
1 Parent(s): b84f132

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ inputs = [
87
  gr.inputs.Number(label="Steps", default=50)
88
  ]
89
 
90
- outputs = gr.outputs.Image(label="Generated Image", type="filepath")
91
 
92
  interface = gr.Interface(generate_image, inputs, outputs, title="<a href='https://huggingface.co/spaces/ImagineAI-Real/ImagineAI-Image-Generator'>ImagineAI-Real/ImagineAI Image Generator</a>",
93
  description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.<br>Like this if you like it :)",
 
87
  gr.inputs.Number(label="Steps", default=50)
88
  ]
89
 
90
+ outputs = gr.outputs.Image(label="Generated Image", type="pil")
91
 
92
  interface = gr.Interface(generate_image, inputs, outputs, title="<a href='https://huggingface.co/spaces/ImagineAI-Real/ImagineAI-Image-Generator'>ImagineAI-Real/ImagineAI Image Generator</a>",
93
  description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.<br>Like this if you like it :)",