musdfakoc commited on
Commit
562e050
·
verified ·
1 Parent(s): ebb57ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def process_image(input_image):
49
  interface = gr.Interface(
50
  fn=process_image,
51
  inputs=gr.Image(type="pil"), # Input is an image
52
- outputs=gr.Audio(type="file"), # Output is an audio file
53
  title="Image to Audio Generator", # App title
54
  description="Upload an image (preferably a spectrogram), and get an audio file generated using Pix2Pix.",
55
  )
 
49
  interface = gr.Interface(
50
  fn=process_image,
51
  inputs=gr.Image(type="pil"), # Input is an image
52
+ outputs=gr.Audio(type="filepath"), # Output is an audio file
53
  title="Image to Audio Generator", # App title
54
  description="Upload an image (preferably a spectrogram), and get an audio file generated using Pix2Pix.",
55
  )