szili2011 commited on
Commit
5ba6aa0
·
verified ·
1 Parent(s): 36632b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,8 +46,8 @@ def audio_to_chromatic_scale(audio_file):
46
  # Build Gradio UI
47
  interface = gr.Interface(
48
  fn=audio_to_chromatic_scale,
49
- inputs=gr.Audio(type="file"),
50
- outputs=gr.Audio(type="file", label="Download Processed Audio")
51
  )
52
 
53
  interface.launch()
 
46
  # Build Gradio UI
47
  interface = gr.Interface(
48
  fn=audio_to_chromatic_scale,
49
+ inputs=gr.Audio(type="filepath"),
50
+ outputs=gr.Audio(type="filepath", label="Download Processed Audio")
51
  )
52
 
53
  interface.launch()