musdfakoc commited on
Commit
c91ba2d
·
verified ·
1 Parent(s): 552fea5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -200,9 +200,7 @@ def main():
200
  model_path = './gan_model.pth' # Ensure the model is in the correct relative path
201
  generator = load_gan_model(generator, model_path, device)
202
 
203
- iface = gr.Interface(fn=generate_audio_from_image,
204
- inputs=gr.Image(type="pil"),
205
- outputs=gr.Audio(type="numpy", label="Generated Audio"))
206
 
207
 
208
 
 
200
  model_path = './gan_model.pth' # Ensure the model is in the correct relative path
201
  generator = load_gan_model(generator, model_path, device)
202
 
203
+ iface = gr.Interface(fn=generate_audio_from_image, inputs=gr.Image(type="pil"), outputs=gr.Audio(type="numpy", label="Generated Audio"))
 
 
204
 
205
 
206