Kyan14 commited on
Commit
32195dd
·
1 Parent(s): b80f4e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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()