Spaces:
Sleeping
Sleeping
TusharGoel
commited on
Commit
•
1835149
1
Parent(s):
ddf6145
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForQuestionAnswering, AutoTokenizer, LayoutLMv
|
|
3 |
|
4 |
model_name = "TusharGoel/LiLT-Document-QA"
|
5 |
|
6 |
-
revision = "
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name, apply_ocr = True, revision=revision)
|
8 |
image_processor = LayoutLMv3ImageProcessor()
|
9 |
|
|
|
3 |
|
4 |
model_name = "TusharGoel/LiLT-Document-QA"
|
5 |
|
6 |
+
revision = "3a510b84c579386c5edfd3881ba839bba28e6a44"
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name, apply_ocr = True, revision=revision)
|
8 |
image_processor = LayoutLMv3ImageProcessor()
|
9 |
|