niks1419 commited on
Commit
b9b0369
·
verified ·
1 Parent(s): 0bcdcdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -20,6 +20,9 @@ import librosa
20
  import noisereduce as nr
21
  import gradio as gr
22
  import huggingface_hub
 
 
 
23
 
24
  # Lazy imports (heavy models) will be done inside the worker function
25
  # to keep the app responsive on startup.
 
20
  import noisereduce as nr
21
  import gradio as gr
22
  import huggingface_hub
23
+ from pyannote.audio import Pipeline, Model
24
+ from speechbrain.pretrained import SepformerSeparation as Sepformer
25
+ from speechbrain.pretrained import SpectralMaskEnhancement as Enhancer
26
 
27
  # Lazy imports (heavy models) will be done inside the worker function
28
  # to keep the app responsive on startup.