Skip to content

Commit 2d30dc8

Browse files
committed
chore: update README
1 parent 8212ef4 commit 2d30dc8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<h1><b>📖 Rapid Layout</b></h1>
44
</div>
55

6-
<a href="https://huggingface.co/spaces/SWHL/RapidLayout" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging Face Demo-blue"></a>
6+
<a href="https://huggingface.co/spaces/RapidAI/RapidLayoutv1" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging Face Demo-blue"></a>
77
<a href=""><img src="https://img.shields.io/badge/Python->=3.6-aff.svg"></a>
88
<a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>
99
<a href="https://pypi.org/project/rapid-layout/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapid-layout"></a>

demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
# @Contact: [email protected]
44
from rapid_layout import EngineType, ModelType, RapidLayout, RapidLayoutInput
55

6-
layout_engine = RapidLayout()
6+
cfg = RapidLayoutInput()
7+
layout_engine = RapidLayout(cfg=cfg)
78

89
img_path = "https://raw.githubusercontent.com/RapidAI/RapidLayout/718b60e927ab893c2fad67c98f753b2105a6f421/tests/test_files/layout.jpg"
910
results = layout_engine(img_path)

0 commit comments

Comments
 (0)