Spaces:
Sleeping
Sleeping
Commit
Β·
89187ff
1
Parent(s):
c3ddf65
changing space type to docker, see if this fixes issues
Browse files- README.md +1 -2
- app.py +0 -4
- requirements-bin.txt +0 -2
- requirements.txt +2 -0
README.md
CHANGED
@@ -3,8 +3,7 @@ title: DAMHelper
|
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: purple
|
6 |
-
sdk:
|
7 |
-
sdk_version: 1.38.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: purple
|
6 |
+
sdk: docker
|
|
|
7 |
app_file: app.py
|
8 |
pinned: false
|
9 |
license: mit
|
app.py
CHANGED
@@ -1,8 +1,4 @@
|
|
1 |
-
|
2 |
-
|
3 |
import os
|
4 |
-
# ugly HF workaround
|
5 |
-
os.system("pip install -r requirements-bin.txt")
|
6 |
import uuid
|
7 |
from pathlib import Path
|
8 |
|
|
|
|
|
|
|
1 |
import os
|
|
|
|
|
2 |
import uuid
|
3 |
from pathlib import Path
|
4 |
|
requirements-bin.txt
CHANGED
@@ -1,2 +0,0 @@
|
|
1 |
-
deps/intel_npu_acceleration_library-1.3.0-cp310-cp310-win_amd64.whl ; sys_platform == "windows"
|
2 |
-
deps/intel_npu_acceleration_library-1.3.0-cp310-cp310-linux_x86_64.whl ; sys_platform == "linux"
|
|
|
|
|
|
requirements.txt
CHANGED
@@ -2,3 +2,5 @@ PyPDFForm
|
|
2 |
ollama
|
3 |
transformers
|
4 |
streamlit
|
|
|
|
|
|
2 |
ollama
|
3 |
transformers
|
4 |
streamlit
|
5 |
+
deps/intel_npu_acceleration_library-1.3.0-cp310-cp310-win_amd64.whl ; sys_platform == "windows"
|
6 |
+
deps/intel_npu_acceleration_library-1.3.0-cp310-cp310-linux_x86_64.whl ; sys_platform == "linux"
|