amirgame197 commited on
Commit
5383dc8
·
verified ·
1 Parent(s): b8e4d8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def separate_audio(audio_path, stem_count):
50
  iface = gr.Interface(
51
  fn=separate_audio,
52
  inputs=[gr.Audio(type="filepath"), gr.Radio([2, 4, 5])],
53
- outputs=[gr.Audio() for _ in range(max_stem_count)] # Adjust the range according to the max number of stems
54
  )
55
 
56
  # Launch the interface
 
50
  iface = gr.Interface(
51
  fn=separate_audio,
52
  inputs=[gr.Audio(type="filepath"), gr.Radio([2, 4, 5])],
53
+ outputs=[gr.Audio() for _ in range(2)] # Adjust the range according to the max number of stems
54
  )
55
 
56
  # Launch the interface