Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from speechbrain.
|
3 |
|
4 |
# Load the MetricGAN model from Hugging Face
|
5 |
model = MetricGAN.from_hparams(source="speechbrain/metricgan-plus-voicebank", savedir="tmpdir_metricgan")
|
@@ -21,3 +21,4 @@ iface = gr.Interface(
|
|
21 |
|
22 |
# Launch the Gradio interface
|
23 |
iface.launch()
|
|
|
|
1 |
import gradio as gr
|
2 |
+
from speechbrain.inference import MetricGAN
|
3 |
|
4 |
# Load the MetricGAN model from Hugging Face
|
5 |
model = MetricGAN.from_hparams(source="speechbrain/metricgan-plus-voicebank", savedir="tmpdir_metricgan")
|
|
|
21 |
|
22 |
# Launch the Gradio interface
|
23 |
iface.launch()
|
24 |
+
|