Update app.py
Browse files
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 |
|