Update app.py
Browse files123453 unmodified lines9101112131416 unmodified lines313233343536# app.pyimport osimport gradio as grfrom audio_pipeline import (3 unmodified linesreducir_ruido)def procesar_wav(input_wav_path: str):# 1) Separar 6 stems con Demucsstems_dir = separar_audio_demucs_6stems(input_wav_path)16 unmodified lines# 6) Devolver stems + base limpiareturn (*stems_paths, clean_base)demo = gr.Interface(fn=procesar_wav,inputs=gr.Audio(label="Sube un archivo .wav", type="filepath"),12343 unmodified lines89101112131416 unmodified lines31323334353637# app.pyimport osimport gradio as grfrom audio_pipeline import (3 unmodified linesreducir_ruido)def procesar_wav(input_wav_path: str):# 1) Separar 6 stems con Demucsstems_dir = separar_audio_demucs_6stems(input_wav_path)16 unmodified lines# 6) Devolver stems + base limpiareturn (*stems_paths, clean_base)demo = gr.Interface(fn=procesar_wav,inputs=gr.Audio(label="Sube un archivo .wav", type="filepath"),
app.py+2-1