Spaces:
Runtime error
Runtime error
Commit
·
fe0000f
1
Parent(s):
c40f821
update the file
Browse files
app/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (564 Bytes). View file
|
|
app/__pycache__/routes.cpython-310.pyc
ADDED
Binary file (1.1 kB). View file
|
|
app/utils/__pycache__/vector_db.cpython-310.pyc
ADDED
Binary file (1.92 kB). View file
|
|
app/utils/__pycache__/zip_handler.cpython-310.pyc
ADDED
Binary file (494 Bytes). View file
|
|
requirements.txt
CHANGED
@@ -8,4 +8,4 @@ PyMuPDF==1.22.5
|
|
8 |
python-pptx==0.6.21
|
9 |
pandas==1.5.3
|
10 |
numpy==1.24.2
|
11 |
-
|
|
|
8 |
python-pptx==0.6.21
|
9 |
pandas==1.5.3
|
10 |
numpy==1.24.2
|
11 |
+
#huggingface-hub==0.15.1 # Ensure compatibility
|
run.py
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
from app import create_app
|
|
|
|
|
|
|
2 |
|
3 |
if __name__ == "__main__":
|
4 |
obj_app = create_app()
|
|
|
1 |
from app import create_app
|
2 |
+
import os
|
3 |
+
os.environ["TRANSFORMERS_CACHE"] = "/app/cache"
|
4 |
+
|
5 |
|
6 |
if __name__ == "__main__":
|
7 |
obj_app = create_app()
|