update
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def generate_audio_gradio(
|
|
60 |
seed,
|
61 |
variant,
|
62 |
):
|
63 |
-
dtype = torch.
|
64 |
if duration <= 0 or num_steps <= 0:
|
65 |
raise ValueError("Duration and number of steps must be positive.")
|
66 |
if variant not in all_model_cfg:
|
|
|
60 |
seed,
|
61 |
variant,
|
62 |
):
|
63 |
+
dtype = torch.bfloat16
|
64 |
if duration <= 0 or num_steps <= 0:
|
65 |
raise ValueError("Duration and number of steps must be positive.")
|
66 |
if variant not in all_model_cfg:
|