Spaces:
Running
Running
Commit
·
e155fd3
1
Parent(s):
1905183
Add README.md with Space configuration
Browse files
README.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: My OCR Demo
|
3 |
+
emoji: 📸
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: green
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: "4.20.0" # Check your requirements.txt for the exact Gradio version you are using
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
# Add this line if your paddleocr_models directory is large and you want to ensure LFS is used for it.
|
11 |
+
# It's good practice even if individual files inside are already LFS tracked.
|
12 |
+
# You might need to adjust if your models are not LFS tracked at the folder level.
|
13 |
+
# For now, since individual model files are LFS tracked, this might not be strictly necessary
|
14 |
+
# but can be a good general practice for model directories.
|
15 |
+
# hf_storage_lfs:
|
16 |
+
# - "paddleocr_models/**"
|
17 |
+
---
|
18 |
+
|
19 |
+
# My PaddleOCR Demo Application
|
20 |
+
|
21 |
+
This is a web application that uses PaddleOCR to perform Optical Character Recognition (OCR) on uploaded images.
|
22 |
+
It's built with Gradio and deployed on Hugging Face Spaces.
|
23 |
+
|
24 |
+
The application uses bundled PaddleOCR models for English, managed with Git LFS to ensure fast startup and avoid re-downloads.
|
25 |
+
|
26 |
+
## How to Use
|
27 |
+
1. Upload an image using the interface.
|
28 |
+
2. The extracted text and the image with bounding boxes will be displayed.
|