Bogdiyan commited on
Commit
ede0d8a
1 Parent(s): dd2b16d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def load_models():
30
 
31
  # models loading from hugginfacehub
32
  detection_model = TableTransformerForObjectDetection.from_pretrained("microsoft/table-transformer-detection")
33
- recognition_model = TableTransformerForObjectDetection.from_pretrained("microsoft/table-transformer-structure-recognition")
34
 
35
  return detection_model, recognition_model
36
  except:
 
30
 
31
  # models loading from hugginfacehub
32
  detection_model = TableTransformerForObjectDetection.from_pretrained("microsoft/table-transformer-detection")
33
+ recognition_model = TableTransformerForObjectDetection.from_pretrained("microsoft/table-structure-recognition-v1.1-all")
34
 
35
  return detection_model, recognition_model
36
  except: