szili2011 commited on
Commit
54150ce
·
verified ·
1 Parent(s): 04a1c22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,8 +83,8 @@ def process_audio(file, added_minutes):
83
  iface = gr.Interface(
84
  fn=process_audio,
85
  inputs=[
86
- gr.Audio(source="upload", type="filepath"), # Updated here
87
- gr.Slider(minimum=0, maximum=10, default=1, label="Additional Minutes") # Updated here
88
  ],
89
  outputs=gr.Audio(type="file"), # Updated here
90
  title="Advanced Music Extender",
 
83
  iface = gr.Interface(
84
  fn=process_audio,
85
  inputs=[
86
+ gr.Audio(type="filepath"), # Removed the source argument
87
+ gr.Slider(minimum=0, maximum=10, default=1, label="Additional Minutes")
88
  ],
89
  outputs=gr.Audio(type="file"), # Updated here
90
  title="Advanced Music Extender",