-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90c3fff
commit 2d16bbf
Showing
5 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: docTR | ||
emoji: 📑 | ||
colorFrom: purple | ||
colorTo: pink | ||
sdk: streamlit | ||
sdk_version: 4.44.1 | ||
app_file: app.py | ||
pinned: false | ||
license: apache-2.0 | ||
--- | ||
|
||
## Configuration | ||
|
||
`title`: _string_ | ||
Display title for the Space | ||
|
||
`emoji`: _string_ | ||
Space emoji (emoji-only character allowed) | ||
|
||
`colorFrom`: _string_ | ||
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray) | ||
|
||
`colorTo`: _string_ | ||
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray) | ||
|
||
`sdk`: _string_ | ||
Can be either `gradio` or `streamlit` | ||
|
||
`sdk_version` : _string_ | ||
Only applicable for `streamlit` SDK. | ||
See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions. | ||
|
||
`app_file`: _string_ | ||
Path to your main application file (which contains either `gradio` or `streamlit` Python code). | ||
Path is relative to the root of the repository. | ||
|
||
`pinned`: _boolean_ | ||
Whether the Space stays on top of your list. | ||
|
||
## Run the demo locally | ||
|
||
```bash | ||
cd demo | ||
pip install -r pt-requirements.txt | ||
streamlit run app.py | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python3-opencv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
-e git+https://github.com/mindee/doctr.git#egg=python-doctr[torch] | ||
streamlit>=1.0.0 | ||
streamlit>=4.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
-e git+https://github.com/mindee/doctr.git#egg=python-doctr[tf] | ||
streamlit>=1.0.0 | ||
streamlit>=4.0.0 |