Oysiyl commited on
Commit
c552b6f
1 Parent(s): 40392fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -77,6 +77,8 @@ def cyrillic_to_latin(text: Text) -> Text:
77
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
78
  if torch.cuda.is_available():
79
  dtype = torch.bfloat16 if torch.cuda.get_device_capability()[0] == 8 else torch.float16
 
 
80
 
81
  spk_model_name = "speechbrain/spkrec-xvect-voxceleb"
82
 
 
77
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
78
  if torch.cuda.is_available():
79
  dtype = torch.bfloat16 if torch.cuda.get_device_capability()[0] == 8 else torch.float16
80
+ else:
81
+ dtype = torch.float32
82
 
83
  spk_model_name = "speechbrain/spkrec-xvect-voxceleb"
84