Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def prediction(image):
|
|
9 |
j, image_blurred = sroie_prediction(image)
|
10 |
|
11 |
#then we use the model fine-tuned on sroie (for now it is Theivaprakasham/layoutlmv3-finetuned-sroie)
|
12 |
-
image = image_blurred
|
13 |
j2, image_final = cord_prediction(image)
|
14 |
|
15 |
#we then link the two json files
|
|
|
9 |
j, image_blurred = sroie_prediction(image)
|
10 |
|
11 |
#then we use the model fine-tuned on sroie (for now it is Theivaprakasham/layoutlmv3-finetuned-sroie)
|
12 |
+
image = image_blurred.copy()
|
13 |
j2, image_final = cord_prediction(image)
|
14 |
|
15 |
#we then link the two json files
|