Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def mood_art_generator(image: np.ndarray):
|
|
80 |
iface = gr.Interface(
|
81 |
fn=mood_art_generator,
|
82 |
inputs=gr.inputs.Image(shape=(224, 224), image_mode="RGB", source="upload"),
|
83 |
-
outputs=gr.outputs.Image(),
|
84 |
title="Mood-based Art Generator",
|
85 |
description="Upload an image of yourself and let the AI generate artwork based on your mood.",
|
86 |
allow_flagging=False,
|
@@ -88,4 +88,4 @@ iface = gr.Interface(
|
|
88 |
share=True
|
89 |
)
|
90 |
|
91 |
-
iface.launch()
|
|
|
80 |
iface = gr.Interface(
|
81 |
fn=mood_art_generator,
|
82 |
inputs=gr.inputs.Image(shape=(224, 224), image_mode="RGB", source="upload"),
|
83 |
+
outputs=gr.outputs.Image(type="numpy"),
|
84 |
title="Mood-based Art Generator",
|
85 |
description="Upload an image of yourself and let the AI generate artwork based on your mood.",
|
86 |
allow_flagging=False,
|
|
|
88 |
share=True
|
89 |
)
|
90 |
|
91 |
+
iface.launch()
|