Spaces:
Runtime error
Runtime error
fix: st.image instead of markdown for logo
Browse files
app.py
CHANGED
|
@@ -51,12 +51,7 @@ def run_prediction(sample):
|
|
| 51 |
|
| 52 |
task_prompt = f"<s>"
|
| 53 |
|
| 54 |
-
st.
|
| 55 |
-
<h3 align="center">
|
| 56 |
-

|
| 57 |
-
</h3>
|
| 58 |
-
""", unsafe_allow_html=True)
|
| 59 |
-
|
| 60 |
st.text('''
|
| 61 |
This is OCR-free Document Understanding Transformer nicknamed 🍩. It was fine-tuned with 1000 receipt images -> SROIE dataset.
|
| 62 |
The original 🍩 implementation can be found on: https://github.com/clovaai/donut
|
|
|
|
| 51 |
|
| 52 |
task_prompt = f"<s>"
|
| 53 |
|
| 54 |
+
st.image(Image.open("./img/unstructured_logo.png", caption="unstructured logo")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
st.text('''
|
| 56 |
This is OCR-free Document Understanding Transformer nicknamed 🍩. It was fine-tuned with 1000 receipt images -> SROIE dataset.
|
| 57 |
The original 🍩 implementation can be found on: https://github.com/clovaai/donut
|