swimmiing commited on
Commit
8fee4bf
1 Parent(s): 00a76b6

Fix cpu only

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from PIL import Image
9
 
10
 
11
  def greet(image, audio):
12
- device = "cuda:0" if torch.cuda.is_available() else "cpu"
13
 
14
  # Get model
15
  model_conf_file = f'./config/model/ACL_ViT16.yaml'
 
9
 
10
 
11
  def greet(image, audio):
12
+ device = "cpu"
13
 
14
  # Get model
15
  model_conf_file = f'./config/model/ACL_ViT16.yaml'