tdnathmlenthusiast commited on
Commit
1543d7d
1 Parent(s): 8cafc94

fixing model loading issues

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ import os
15
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
16
  print(device)
17
  # load_desirable_model
18
- got_model_name = 'tdnathmlenthusiast/got-ocr-2.0-modified-hindi-version'
19
 
20
  det_processor, det_model = load_det_processor(), load_det_model()
21
  det_model.to(device)
 
15
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
16
  print(device)
17
  # load_desirable_model
18
+ got_model_name = 'aarishshahmohsin/got_ocr_2'
19
 
20
  det_processor, det_model = load_det_processor(), load_det_model()
21
  det_model.to(device)