haoheliu commited on
Commit
dcb6d82
1 Parent(s): bf5e260

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from transformers import AutoProcessor, ClapModel
9
  # make Space compatible with CPU duplicates
10
  if torch.cuda.is_available():
11
  device = "cuda"
12
- torch_dtype = torch.float16
13
  else:
14
  device = "cpu"
15
  torch_dtype = torch.float32
 
9
  # make Space compatible with CPU duplicates
10
  if torch.cuda.is_available():
11
  device = "cuda"
12
+ torch_dtype = torch.float32
13
  else:
14
  device = "cpu"
15
  torch_dtype = torch.float32