Abdullah-Habib commited on
Commit
013c0c1
·
1 Parent(s): c1e3868

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/urdu_speech_tt" # Replace with your actual model name
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