dimensionalpulsar commited on
Commit
f0f02ad
·
1 Parent(s): cfcb530

fix: add gradio==5.12.0 to requirements, fix de-esser bug (LowShelf->HighShelf), show_error=True

Browse files
Files changed (3) hide show
  1. app.py +5 -2
  2. pipeline/mixing.py +5 -5
  3. requirements.txt +3 -1
app.py CHANGED
@@ -193,7 +193,10 @@ with gr.Blocks(
193
  theme=gr.themes.Soft(),
194
  ) as app:
195
 
196
- gr.Markdown("# Aplicación de Clonación de Voz") # Aquí iría DESCRIPTION si estuviera definida globalmente
 
 
 
197
 
198
  with gr.Tabs():
199
  # Pestaña 1: Referencia de voz
@@ -400,4 +403,4 @@ with gr.Blocks(
400
 
401
 
402
  if __name__ == "__main__":
403
- app.launch(server_name="0.0.0.0")
 
193
  theme=gr.themes.Soft(),
194
  ) as app:
195
 
196
+ gr.Markdown(
197
+ "# 🎤 Aplicación de Clonación de Voz (Seed-VC)\n"
198
+ "> Powered by [Seed-VC](https://github.com/Plachta/seed-vc) + [Demucs](https://github.com/facebookresearch/demucs) · ZeroGPU · Zero-shot"
199
+ )
200
 
201
  with gr.Tabs():
202
  # Pestaña 1: Referencia de voz
 
403
 
404
 
405
  if __name__ == "__main__":
406
+ app.launch(server_name="0.0.0.0", show_error=True)
pipeline/mixing.py CHANGED
@@ -10,7 +10,7 @@ import librosa
10
  import soundfile as sf
11
  from pedalboard import (
12
  Pedalboard, Compressor, HighpassFilter,
13
- PeakFilter, LowShelfFilter, Limiter, Gain,
14
  )
15
 
16
  logger = logging.getLogger(__name__)
@@ -39,10 +39,10 @@ def _process_vocals(vocals: np.ndarray, sr: int) -> np.ndarray:
39
  gain_db=2.5,
40
  q=1.0,
41
  ),
42
- # 4. Simple de-esser — gentle high-freq reduction to tame sibilance
43
- LowShelfFilter(
44
- cutoff_frequency_hz=6000.0,
45
- gain_db=-2.0,
46
  ),
47
  # 5. Makeup gain after compression
48
  Gain(gain_db=1.0),
 
10
  import soundfile as sf
11
  from pedalboard import (
12
  Pedalboard, Compressor, HighpassFilter,
13
+ PeakFilter, HighShelfFilter, Limiter, Gain,
14
  )
15
 
16
  logger = logging.getLogger(__name__)
 
39
  gain_db=2.5,
40
  q=1.0,
41
  ),
42
+ # 4. De-esser — gentle high-freq reduction to tame sibilance
43
+ HighShelfFilter(
44
+ cutoff_frequency_hz=7000.0,
45
+ gain_db=-2.5,
46
  ),
47
  # 5. Makeup gain after compression
48
  Gain(gain_db=1.0),
requirements.txt CHANGED
@@ -1,4 +1,6 @@
1
- # Gradio + HuggingFace (versions managed by HF sdk_version in README.md)
 
 
2
  spaces>=0.30.0
3
  huggingface_hub>=0.23.0
4
 
 
1
+ # Gradio + HuggingFace
2
+ gradio==5.12.0
3
+ gradio-client==1.5.4
4
  spaces>=0.30.0
5
  huggingface_hub>=0.23.0
6