Spaces:
Runtime error
Runtime error
Commit
·
013c0c1
1
Parent(s):
c1e3868
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from datasets import load_dataset, Audio, config
|
|
9 |
from IPython.display import Audio
|
10 |
|
11 |
# Load the TTS model from the Hugging Face Hub
|
12 |
-
checkpoint = "Abdullah-Habib/
|
13 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
14 |
model = SpeechT5ForTextToSpeech.from_pretrained(checkpoint)
|
15 |
tokenizer = processor.tokenizer
|
|
|
9 |
from IPython.display import Audio
|
10 |
|
11 |
# Load the TTS model from the Hugging Face Hub
|
12 |
+
checkpoint = "Abdullah-Habib/finetuned_speecht5_urdu" # Replace with your actual model name
|
13 |
processor = SpeechT5Processor.from_pretrained(checkpoint)
|
14 |
model = SpeechT5ForTextToSpeech.from_pretrained(checkpoint)
|
15 |
tokenizer = processor.tokenizer
|