Spaces:
Sleeping
Sleeping
Commit
Β·
d5b7b6f
1
Parent(s):
7047a95
updated versions
Browse files- README.md +28 -4
- requirements.txt +1 -1
README.md
CHANGED
@@ -1,12 +1,36 @@
|
|
1 |
---
|
2 |
-
title: LandingAI
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: pink
|
6 |
sdk: streamlit
|
7 |
-
sdk_version: 1.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: LandingAI-PokerCard
|
3 |
+
emoji: π
|
4 |
+
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: streamlit
|
7 |
+
sdk_version: 1.25.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
+
|
14 |
+
## Introduction
|
15 |
+
|
16 |
+
This example is a Streamlit app that supports running OCR inference.
|
17 |
+
|
18 |
+
In particular, this app allows you to run inference with uploaded images or images from your camera.
|
19 |
+
|
20 |
+
### Target Audience
|
21 |
+
We recommend that users have:
|
22 |
+
|
23 |
+
- Basic Python programming skills.
|
24 |
+
- A basic understanding of the Streamlit library. For more information, go [here](https://docs.streamlit.io/library/get-started/main-concepts).
|
25 |
+
|
26 |
+
### Installation
|
27 |
+
|
28 |
+
```
|
29 |
+
pip install -r examples/apps/ocr/requirements.txt
|
30 |
+
```
|
31 |
+
|
32 |
+
### Launch the App
|
33 |
+
|
34 |
+
```
|
35 |
+
streamlit run examples/apps/ocr/app.py
|
36 |
+
```
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
streamlit
|
2 |
extra-streamlit-components
|
3 |
landingai
|
4 |
-
pydantic==1.10.9
|
5 |
prettytable
|
|
|
|
1 |
streamlit
|
2 |
extra-streamlit-components
|
3 |
landingai
|
|
|
4 |
prettytable
|
5 |
+
pydantic<2.0.0
|