macadeliccc commited on
Commit
b26c8cb
·
1 Parent(s): 9603947
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ iface = gr.Interface(
40
  gr.Textbox(label="Enter prompt", placeholder="Type your prompt here..."),
41
  gr.Textbox(label="Enter negative prompt (optional)", placeholder="Type your negative prompt here...")
42
  ],
43
- outputs=gr.Image(type="file", label="Generated Image"),
44
  title="Image Generation with Stable Diffusion XL",
45
  description="Enter a prompt and (optionally) a negative prompt to generate an image.",
46
  layout="vertical"
 
40
  gr.Textbox(label="Enter prompt", placeholder="Type your prompt here..."),
41
  gr.Textbox(label="Enter negative prompt (optional)", placeholder="Type your negative prompt here...")
42
  ],
43
+ outputs=gr.Image(type="filepath", label="Generated Image"),
44
  title="Image Generation with Stable Diffusion XL",
45
  description="Enter a prompt and (optionally) a negative prompt to generate an image.",
46
  layout="vertical"