Spaces:
Running
Running
Commit
·
70215f2
1
Parent(s):
fcfe360
CPU Config
Browse files- cpu_config.env +14 -0
cpu_config.env
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CPU-Optimized Configuration for Laptop
|
| 2 |
+
# Copy this to .env for CPU-only setup
|
| 3 |
+
|
| 4 |
+
# DeepSeek OCR Configuration
|
| 5 |
+
DEEPSEEK_OCR_MODEL=deepseek-ai/DeepSeek-OCR
|
| 6 |
+
DEEPSEEK_OCR_DEVICE=cpu
|
| 7 |
+
DEEPSEEK_OCR_MAX_TOKENS=256
|
| 8 |
+
DEEPSEEK_OCR_TEMPERATURE=0.1
|
| 9 |
+
|
| 10 |
+
# CPU Performance Tips:
|
| 11 |
+
# - Use smaller images (max 1024x1024 pixels)
|
| 12 |
+
# - Process one image at a time
|
| 13 |
+
# - Close other applications to free up RAM
|
| 14 |
+
# - Consider using a smaller model if available
|