Flux9665 commited on
Commit
6a645d4
β€’
1 Parent(s): 3f63bb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import os
2
 
3
- os.system("git clone --branch v2.3 https://github.com/DigitalPhonetics/IMS-Toucan.git toucan_codebase")
4
  os.system("mv toucan_codebase/* .")
5
 
6
  from run_model_downloader import download_models
@@ -179,7 +179,7 @@ class TTS_Interface:
179
  cloned_speech = self.cloned_speech_male
180
  reg_speech = self.reg_speech_male
181
 
182
- return (48000, float2pcm(reg_speech)), (48000, float2pcm(cloned_speech)), (48000, float2pcm(manipulated_speech.numpy()))
183
 
184
 
185
  poem_model = TTS_Interface()
1
  import os
2
 
3
+ os.system("git clone --branch v2.5 https://github.com/DigitalPhonetics/IMS-Toucan.git toucan_codebase")
4
  os.system("mv toucan_codebase/* .")
5
 
6
  from run_model_downloader import download_models
179
  cloned_speech = self.cloned_speech_male
180
  reg_speech = self.reg_speech_male
181
 
182
+ return (24000, float2pcm(reg_speech)), (24000, float2pcm(cloned_speech)), (24000, float2pcm(manipulated_speech.numpy()))
183
 
184
 
185
  poem_model = TTS_Interface()