musdfakoc commited on
Commit
095807d
·
verified ·
1 Parent(s): 9faab60

Update app.py

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