Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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,
|