AndreasXi commited on
Commit
c5a0b30
·
1 Parent(s): ba762df
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def generate_audio_gradio(
60
  seed,
61
  variant,
62
  ):
63
- dtype = torch.float32
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: