MR commited on
Commit
a46cb3f
1 Parent(s): 5e18de6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def main(_config):
48
  model.setup("test")
49
  model.eval()
50
 
51
- device = "cuda:0" if _config["num_gpus"] > 0 else "cpu"
52
  model.to(device)
53
 
54
  def infer(url, mp_text, hidx):
 
48
  model.setup("test")
49
  model.eval()
50
 
51
+ device = "cpu"
52
  model.to(device)
53
 
54
  def infer(url, mp_text, hidx):