16pramodh commited on
Commit
249e212
·
verified ·
1 Parent(s): 4ccbfb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ from TTS.tts.configs.xtts_config import XttsConfig
6
  from TTS.tts.models.xtts import Xtts
7
  from huggingface_hub import hf_hub_download
8
  import scipy.io.wavfile
 
9
 
10
  # Set the cache directory for Hugging Face models to ensure they are saved within the Space
11
  os.environ['HUGGINGFACE_HUB_CACHE'] = '/app/.cache/huggingface/hub'
 
6
  from TTS.tts.models.xtts import Xtts
7
  from huggingface_hub import hf_hub_download
8
  import scipy.io.wavfile
9
+ import soundfile as sf
10
 
11
  # Set the cache directory for Hugging Face models to ensure they are saved within the Space
12
  os.environ['HUGGINGFACE_HUB_CACHE'] = '/app/.cache/huggingface/hub'