Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ config = Cfg.load_config_from_name('vgg_transformer')
|
|
18 |
|
19 |
config['cnn']['pretrained'] = True
|
20 |
config['predictor']['beamsearch'] = True
|
21 |
-
config['device'] = '
|
22 |
|
23 |
recognitor = Predictor(config)
|
24 |
|
|
|
18 |
|
19 |
config['cnn']['pretrained'] = True
|
20 |
config['predictor']['beamsearch'] = True
|
21 |
+
config['device'] = 'cpucpu' # mps
|
22 |
|
23 |
recognitor = Predictor(config)
|
24 |
|