edwko commited on
Commit
da104f5
·
verified ·
1 Parent(s): 18a86b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ def generate_tts(
18
  model_config = outetts.HFModelConfig_v2(
19
  model_path="OuteAI/OuteTTS-0.3-1B",
20
  tokenizer_path="OuteAI/OuteTTS-0.3-1B",
21
- dtype=torch.bfloat16
 
22
  )
23
  interface = outetts.InterfaceHF(model_version="0.3", cfg=model_config)
24
 
 
18
  model_config = outetts.HFModelConfig_v2(
19
  model_path="OuteAI/OuteTTS-0.3-1B",
20
  tokenizer_path="OuteAI/OuteTTS-0.3-1B",
21
+ dtype=torch.bfloat16,
22
+ device="cuda"
23
  )
24
  interface = outetts.InterfaceHF(model_version="0.3", cfg=model_config)
25