Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ def process_image(input_image):
|
|
125 |
interface = gr.Interface(
|
126 |
fn=process_image,
|
127 |
inputs=gr.Image(type="pil"), # Input is an image
|
128 |
-
outputs=[gr.Image(type="
|
129 |
title="Image to Audio Generator with Spectrogram Display", # App title
|
130 |
description="Upload an image (preferably a spectrogram), and get an audio file generated using Pix2Pix. You can also see the modified spectrogram.",
|
131 |
)
|
|
|
125 |
interface = gr.Interface(
|
126 |
fn=process_image,
|
127 |
inputs=gr.Image(type="pil"), # Input is an image
|
128 |
+
outputs=[gr.Image(type="filepath"), gr.Audio(type="filepath")], # Output both spectrogram image and audio file
|
129 |
title="Image to Audio Generator with Spectrogram Display", # App title
|
130 |
description="Upload an image (preferably a spectrogram), and get an audio file generated using Pix2Pix. You can also see the modified spectrogram.",
|
131 |
)
|