Spaces:
Runtime error
Runtime error
chore: logo scaling and better description
Browse files
app.py
CHANGED
@@ -52,10 +52,15 @@ def run_prediction(sample):
|
|
52 |
task_prompt = f"<s>"
|
53 |
|
54 |
logo = Image.open("./img/unstructured_logo.png")
|
55 |
-
|
|
|
|
|
|
|
56 |
st.text('''
|
57 |
-
This is OCR-free Document Understanding Transformer nicknamed 🍩. It was fine-tuned with 1000 receipt images -> SROIE dataset.
|
58 |
-
The original 🍩 implementation can be found on: https://github.com/clovaai/donut
|
|
|
|
|
59 |
''')
|
60 |
|
61 |
image_upload = None
|
|
|
52 |
task_prompt = f"<s>"
|
53 |
|
54 |
logo = Image.open("./img/unstructured_logo.png")
|
55 |
+
size = 128, 128
|
56 |
+
logo.thumbnail(size, Image.Resampling.LANCZOS)
|
57 |
+
st.image(logo, caption='https://github.com/Unstructured-IO/unstructured')
|
58 |
+
|
59 |
st.text('''
|
60 |
+
This is an OCR-free Document Understanding Transformer nicknamed 🍩. It was fine-tuned with 1000 receipt images -> SROIE dataset.
|
61 |
+
The original 🍩 implementation can be found on: https://github.com/clovaai/donut .
|
62 |
+
At (Unstructured.io)[https://github.com/Unstructured-IO/unstructured] we are on a mission to build custom preprocessing pipelines for labeling, training, or production ML-ready pipelines 🤩.
|
63 |
+
Come and join us in our public repos and contribute! Each of your contributions and feedback holds great value and is very significant to the community 😊.
|
64 |
''')
|
65 |
|
66 |
image_upload = None
|