midhyaraj commited on
Commit
dd0af32
·
verified ·
1 Parent(s): ba4c6a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,8 +1,3 @@
1
-
2
-
3
-
4
-
5
-
6
  import os
7
  import subprocess
8
 
@@ -31,7 +26,7 @@ def main():
31
  import torchaudio
32
  import time
33
  from datetime import datetime
34
- from tortoise.api import TextToSpeech
35
  from tortoise.utils.audio import load_audio, load_voice, load_voices
36
 
37
  # Set the Gradio queue flag to disabled
@@ -122,3 +117,8 @@ if __name__ == "__main__":
122
 
123
  # Run the main function
124
  main()
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
  import subprocess
3
 
 
26
  import torchaudio
27
  import time
28
  from datetime import datetime
29
+ from tortoise.api import TextToSpeech # Ensure this import is here
30
  from tortoise.utils.audio import load_audio, load_voice, load_voices
31
 
32
  # Set the Gradio queue flag to disabled
 
117
 
118
  # Run the main function
119
  main()
120
+
121
+
122
+
123
+
124
+