szili2011 commited on
Commit
04a1c22
·
verified ·
1 Parent(s): 45f34d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -83,10 +83,10 @@ def process_audio(file, added_minutes):
83
  iface = gr.Interface(
84
  fn=process_audio,
85
  inputs=[
86
- gr.inputs.Audio(source="upload", type="filepath"),
87
- gr.inputs.Slider(minimum=0, maximum=10, default=1, label="Additional Minutes") # Adjust max as needed
88
  ],
89
- outputs=gr.outputs.Audio(type="file"),
90
  title="Advanced Music Extender",
91
  description="Upload an audio file, and this app will extend the music by cutting and appending a segment based on advanced audio features. Choose additional minutes to extend the audio duration."
92
  )
 
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",
91
  description="Upload an audio file, and this app will extend the music by cutting and appending a segment based on advanced audio features. Choose additional minutes to extend the audio duration."
92
  )