ironjr commited on
Commit
d733ffe
·
verified ·
1 Parent(s): 41c2ddc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,8 +80,8 @@ opt = parser.parse_args()
80
 
81
  ### Global variables and data structures
82
 
83
- # device = f'cuda:{opt.device}' if opt.device >= 0 else 'cpu'
84
- device = 'cuda'
85
 
86
 
87
  model_dict = {
 
80
 
81
  ### Global variables and data structures
82
 
83
+ device = f'cuda:{opt.device}' if opt.device >= 0 else 'cpu'
84
+ # device = 'cuda'
85
 
86
 
87
  model_dict = {