Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import soundfile as sf
|
|
6 |
import numpy as np
|
7 |
|
8 |
# Load the TTS model from the Hugging Face Hub
|
9 |
-
model_name = "
|
10 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
11 |
tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
12 |
|
|
|
6 |
import numpy as np
|
7 |
|
8 |
# Load the TTS model from the Hugging Face Hub
|
9 |
+
model_name = "jjyaoao/speecht5_finetuned_voxpopuli_nl" # Replace with your actual model name
|
10 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
11 |
tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
12 |
|