Spaces:
Sleeping
Sleeping
Add package
Browse files- app.py +1 -1
- packages.txt +1 -1
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
| 3 |
import pytesseract
|
| 4 |
from PIL import Image, UnidentifiedImageError
|
| 5 |
import re
|
| 6 |
-
import os
|
| 7 |
import logging
|
| 8 |
|
| 9 |
# Configurer les répertoires de cache
|
|
|
|
| 3 |
import pytesseract
|
| 4 |
from PIL import Image, UnidentifiedImageError
|
| 5 |
import re
|
| 6 |
+
import os
|
| 7 |
import logging
|
| 8 |
|
| 9 |
# Configurer les répertoires de cache
|
packages.txt
CHANGED
|
@@ -3,4 +3,4 @@ apt-get update && apt-get install -y \
|
|
| 3 |
tesseract-ocr-fra \
|
| 4 |
libtesseract-dev \
|
| 5 |
&& apt-get clean \
|
| 6 |
-
&& rm
|
|
|
|
| 3 |
tesseract-ocr-fra \
|
| 4 |
libtesseract-dev \
|
| 5 |
&& apt-get clean \
|
| 6 |
+
&& rm /var/lib/apt/lists/*
|