Vinay15 commited on
Commit
a7d44b7
·
verified ·
1 Parent(s): cf0424c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ model = SpeechT5ForTextToSpeech.from_pretrained("microsoft/speecht5_tts")
15
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
16
 
17
  # Load pronunciation dictionary from JSON file
18
- with open("/content/pronunciation_dict.json", "r") as f:
19
  pronunciation_dict = json.load(f)
20
 
21
  # Function to preprocess the input text
 
15
  vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
16
 
17
  # Load pronunciation dictionary from JSON file
18
+ with open("pronunciation_dict.json", "r") as f:
19
  pronunciation_dict = json.load(f)
20
 
21
  # Function to preprocess the input text