Spaces:
Running
Running
Update app.py
Browse files
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.
|