Serhiy Stetskovych commited on
Commit
a13fe69
·
1 Parent(s): 9559adc
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ def synthesize(model_name, text, speed, voice_audio = None, progress=gr.Progress
209
  result_wav.append(wav)
210
 
211
 
212
- return 24000, torch.concatenate(result_wav).numpy()
213
 
214
 
215
 
 
209
  result_wav.append(wav)
210
 
211
 
212
+ return 24000, torch.concatenate(result_wav).cpu().numpy()
213
 
214
 
215
 
requirements.txt CHANGED
@@ -10,7 +10,7 @@ torch==2.2.0
10
  transformers
11
  git+https://github.com/patriotyk/ukrainian-word-stress.git
12
  git+https://github.com/patriotyk/ipa-uk.git
13
- git+https://github.com/patriotyk/styletts2-inference@fa62a8b68cc89ebf73db03da46e09d14ad054ea0
14
  spaces
15
  numpy<2
16
  huggingface_hub
 
10
  transformers
11
  git+https://github.com/patriotyk/ukrainian-word-stress.git
12
  git+https://github.com/patriotyk/ipa-uk.git
13
+ git+https://github.com/patriotyk/styletts2-inference@a42888a33bf8231831cc449be2cdd20102314fd0
14
  spaces
15
  numpy<2
16
  huggingface_hub