Kyan14 commited on
Commit
b981471
·
1 Parent(s): 9dcba1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def mood_art_generator(image):
76
  iface = gr.Interface(
77
  fn=mood_art_generator,
78
  inputs=gr.inputs.Image(shape=(224, 224), image_mode="RGB", source="upload"),
79
- outputs=gr.outputs.Image(pilmode="RGB"),
80
  title="Mood-based Art Generator",
81
  description="Upload an image of yourself and let the AI generate artwork based on your mood.",
82
  allow_flagging=False,
 
76
  iface = gr.Interface(
77
  fn=mood_art_generator,
78
  inputs=gr.inputs.Image(shape=(224, 224), image_mode="RGB", source="upload"),
79
+ outputs=gr.outputs.Image(type="pil"),
80
  title="Mood-based Art Generator",
81
  description="Upload an image of yourself and let the AI generate artwork based on your mood.",
82
  allow_flagging=False,