Spaces:
Running
Running
Commit
·
ff35d52
1
Parent(s):
f5ffb8d
update image
Browse files
app.py
CHANGED
@@ -13,10 +13,10 @@ task_name = "preparedFinetuneData"
|
|
13 |
# task_name = "cord-v2"
|
14 |
task_prompt = f"<s_{task_name}>"
|
15 |
|
16 |
-
image = Image.open("
|
17 |
-
image.save("sample_receipt1.png")
|
18 |
-
image = Image.open("
|
19 |
-
image.save("sample_receipt2.png")
|
20 |
|
21 |
PATH = 'epochs30_base_on_donut_base/'
|
22 |
# pretrained_model = DonutModel.from_pretrained(PATH, local_files_only=True)
|
|
|
13 |
# task_name = "cord-v2"
|
14 |
task_prompt = f"<s_{task_name}>"
|
15 |
|
16 |
+
image = Image.open("sample_receipt1.png")
|
17 |
+
# image.save("sample_receipt1.png")
|
18 |
+
image = Image.open("sample_receipt2.png")
|
19 |
+
# image.save("sample_receipt2.png")
|
20 |
|
21 |
PATH = 'epochs30_base_on_donut_base/'
|
22 |
# pretrained_model = DonutModel.from_pretrained(PATH, local_files_only=True)
|
sample_image_cord_test_receipt_00004.png
DELETED
Binary file (734 kB)
|
|
sample_image_cord_test_receipt_00012.png
DELETED
Binary file (835 kB)
|
|