Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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-
|
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:
|