gelpi01 commited on
Commit
74aeff9
·
verified ·
1 Parent(s): e480ad5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,4 @@
1
  # app.py
2
-
3
  import os
4
  import gradio as gr
5
  from audio_pipeline import (
@@ -9,6 +8,7 @@ from audio_pipeline import (
9
  reducir_ruido
10
  )
11
 
 
12
  def procesar_wav(input_wav_path: str):
13
  # 1) Separar 6 stems con Demucs
14
  stems_dir = separar_audio_demucs_6stems(input_wav_path)
@@ -31,6 +31,7 @@ def procesar_wav(input_wav_path: str):
31
  # 6) Devolver stems + base limpia
32
  return (*stems_paths, clean_base)
33
 
 
34
  demo = gr.Interface(
35
  fn=procesar_wav,
36
  inputs=gr.Audio(label="Sube un archivo .wav", type="filepath"),
 
1
  # app.py
 
2
  import os
3
  import gradio as gr
4
  from audio_pipeline import (
 
8
  reducir_ruido
9
  )
10
 
11
+
12
  def procesar_wav(input_wav_path: str):
13
  # 1) Separar 6 stems con Demucs
14
  stems_dir = separar_audio_demucs_6stems(input_wav_path)
 
31
  # 6) Devolver stems + base limpia
32
  return (*stems_paths, clean_base)
33
 
34
+
35
  demo = gr.Interface(
36
  fn=procesar_wav,
37
  inputs=gr.Audio(label="Sube un archivo .wav", type="filepath"),