datasetsANDmodels commited on
Commit
3826a81
·
verified ·
1 Parent(s): 2196499

Update tts.py

Browse files
Files changed (1) hide show
  1. tts.py +2 -2
tts.py CHANGED
@@ -3,8 +3,8 @@ import torch
3
  import numpy as np
4
  from scipy.io.wavfile import write
5
  #"SeyedAli/Arabic-Speech-synthesis"
6
- model = VitsModel.from_pretrained("arabic-tts")
7
- tokenizer = AutoTokenizer.from_pretrained("arabic-tts")
8
 
9
  text = "عشر ديما خمسة وعشرين رجلا في ليلة واحدة ومن ثم قام بقتلها"
10
  text = "يوفر مجتمع البناء قروضا عقارية وقروض وعقارية"
 
3
  import numpy as np
4
  from scipy.io.wavfile import write
5
  #"SeyedAli/Arabic-Speech-synthesis"
6
+ model = VitsModel.from_pretrained("../arabic-tts")
7
+ tokenizer = AutoTokenizer.from_pretrained("../arabic-tts")
8
 
9
  text = "عشر ديما خمسة وعشرين رجلا في ليلة واحدة ومن ثم قام بقتلها"
10
  text = "يوفر مجتمع البناء قروضا عقارية وقروض وعقارية"