ImagineAI-Real commited on
Commit
ca61cfd
1 Parent(s): a8e1a32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ inputs = [
76
  gr.inputs.Number(label="Steps", default=50)
77
  ]
78
 
79
- outputs = gr.outputs.Image(label="Generated Image", type="pil")
80
 
81
  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>",
82
  description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.",
 
76
  gr.inputs.Number(label="Steps", default=50)
77
  ]
78
 
79
+ outputs = gr.outputs.Image(label="Generated Image", type="bytes")
80
 
81
  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>",
82
  description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.",