osanseviero commited on
Commit
b87f08b
1 Parent(s): f45a2ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -5,7 +5,7 @@ import torch.nn.functional as F
5
 
6
  import IPython
7
 
8
- import os
9
  import subprocess
10
 
11
  # entmax could not be installed at same time as torch
@@ -14,9 +14,6 @@ subprocess.check_call([sys.executable, "-m", "pip", "install", "entmax"])
14
  from tortoise_tts.api import TextToSpeech
15
  from tortoise_tts.utils.audio import load_audio, get_voices
16
 
17
- for root, dirnames, filenames in os.walk('tortoise-tts'):
18
- print(root, dirnames, filenames)
19
-
20
  # This will download all the models used by Tortoise from the HF hub.
21
  tts = TextToSpeech()
22
 
 
5
 
6
  import IPython
7
 
8
+ import sys
9
  import subprocess
10
 
11
  # entmax could not be installed at same time as torch
 
14
  from tortoise_tts.api import TextToSpeech
15
  from tortoise_tts.utils.audio import load_audio, get_voices
16
 
 
 
 
17
  # This will download all the models used by Tortoise from the HF hub.
18
  tts = TextToSpeech()
19