Spaces:
Runtime error
Runtime error
amirgame197
commited on
Update app.py
Browse files
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(
|
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
|