RedSparkie commited on
Commit
3cc5048
·
verified ·
1 Parent(s): ce2be04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -20,12 +20,12 @@ from TTS.tts.models.xtts import Xtts
20
 
21
  os.environ["COQUI_TOS_AGREED"] = "1"
22
 
23
- device = "cuda"
24
 
25
- tts = TTS("RedSparkie/danilamula").to(device)
26
- model_path = '/home/user/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_bill_spa/model.pth'
27
- config_path = '/home/user/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_bill_spa/config.json'
28
- vocab_path = '/home/user/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_bill_spa/vocab.json'
29
 
30
 
31
  def clear_gpu_cache():
 
20
 
21
  os.environ["COQUI_TOS_AGREED"] = "1"
22
 
23
+ device = "cpu"
24
 
25
+ tts = TTS("RedSparkie/danielmula").to(device)
26
+ model_path = 'RedSparkie/danielmula/model.pth'
27
+ config_path = 'RedSparkie/danielmula/config.json'
28
+ vocab_path = 'RedSparkie/danielmula/vocab.json'
29
 
30
 
31
  def clear_gpu_cache():