|
1 | 1 | # ============================================ |
2 | 2 | # PaddleOCR Skills Configuration |
3 | 3 | # ============================================ |
4 | | -# Copy this file to .env and fill in your configuration |
| 4 | +# Copy this file to .env and fill in your configuration. |
5 | 5 | # This is a single shared template for all PaddleOCR skills in this repository. |
6 | 6 | # Get your API credentials at: https://paddleocr.com |
7 | 7 |
|
8 | 8 | # ============================================ |
9 | | -# Text Recognition Configuration |
| 9 | +# Shared Configuration |
10 | 10 | # ============================================ |
11 | 11 |
|
12 | | -# API URL (full address, including /ocr) |
13 | | -# Example: PADDLEOCR_OCR_API_URL=https://example.aistudio-app.com/ocr |
14 | | -PADDLEOCR_OCR_API_URL= |
15 | | - |
16 | | -# Access Token (plain token string, shared between skills) |
| 12 | +# Access token (shared between skills) |
17 | 13 | # Example: PADDLEOCR_ACCESS_TOKEN=your_access_token_here |
18 | 14 | PADDLEOCR_ACCESS_TOKEN= |
19 | 15 |
|
20 | 16 | # ============================================ |
21 | | -# Document Parsing Configuration |
22 | | -# ============================================ |
23 | | -# Advanced document parsing with layout analysis |
24 | | -# Get your API credentials at: https://paddleocr.com |
25 | | - |
26 | | -# Document Parsing API URL (full endpoint address) |
27 | | -# Example: PADDLEOCR_DOC_PARSING_API_URL=https://xxxxx.aistudio-app.com/layout-parsing |
28 | | -PADDLEOCR_DOC_PARSING_API_URL= |
29 | | - |
30 | | -# ============================================ |
31 | | -# Optional: Text Recognition Configuration |
| 17 | +# Text Recognition Configuration |
32 | 18 | # ============================================ |
33 | 19 |
|
34 | | -# Request timeout (milliseconds, default 25000) |
35 | | -# PADDLEOCR_OCR_TIMEOUT=25000 |
| 20 | +# API URL (get the full URL from the PaddleOCR website) |
| 21 | +# Example: PADDLEOCR_OCR_API_URL=https://example.aistudio-app.com/ocr |
| 22 | +PADDLEOCR_OCR_API_URL= |
36 | 23 |
|
37 | | -# Log level (DEBUG/INFO/WARNING/ERROR, default INFO) |
38 | | -# PADDLEOCR_LOG_LEVEL=INFO |
| 24 | +# Request timeout in seconds (default 120) |
| 25 | +# PADDLEOCR_OCR_TIMEOUT=120 |
39 | 26 |
|
40 | 27 | # ============================================ |
41 | | -# Optional: Document Parsing Configuration |
| 28 | +# Document Parsing Configuration |
42 | 29 | # ============================================ |
43 | 30 |
|
44 | | -# Request timeout (seconds, default 120) |
45 | | -# PADDLEOCR_DOC_PARSING_TIMEOUT=120 |
46 | | - |
47 | | -# Log level (DEBUG/INFO/WARNING/ERROR, default INFO) |
48 | | -# PADDLEOCR_PARSING_LOG_LEVEL=INFO |
| 31 | +# API URL (get the full URL from the PaddleOCR website) |
| 32 | +# Example: PADDLEOCR_DOC_PARSING_API_URL=https://example.aistudio-app.com/layout-parsing |
| 33 | +PADDLEOCR_DOC_PARSING_API_URL= |
49 | 34 |
|
50 | | -# Max file size for local files (MB, default 20) |
51 | | -# Increase this if you need to process larger files locally |
52 | | -# Note: For very large files, consider using --file-url instead |
53 | | -# PADDLEOCR_PARSING_MAX_FILE_SIZE_MB=20 |
| 35 | +# Request timeout in seconds (default 600) |
| 36 | +# PADDLEOCR_DOC_PARSING_TIMEOUT=600 |
0 commit comments