ImagineAI-Real commited on
Commit
5592275
·
1 Parent(s): c066480

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ inputs = [
90
  gr.inputs.Number(label="Steps", default=50)
91
  ]
92
 
93
- outputs = gr.outputs.Image(label="Generated Image", type="bytes")
94
 
95
  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>",
96
  description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.",
 
90
  gr.inputs.Number(label="Steps", default=50)
91
  ]
92
 
93
+ outputs = gr.outputs.Image(label="Generated Image", type="filepath")
94
 
95
  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>",
96
  description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.",