achraf228 commited on
Commit
8bedfaa
·
1 Parent(s): 1699196
Files changed (2) hide show
  1. pip-install.log +1 -0
  2. requirements.txt +11 -3
pip-install.log ADDED
@@ -0,0 +1 @@
 
 
1
+ Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases.
requirements.txt CHANGED
@@ -1,9 +1,17 @@
1
  gradio>=4.0
2
  transformers==4.44.0
3
- torch==2.4.0
 
 
 
 
 
4
  sentence-transformers==3.0.1
5
- faiss-cpu==1.8.0
6
  langchain==0.3.0
7
  python-pptx==0.6.23
8
  requests==2.32.3
9
- biopython==1.83
 
 
 
 
 
1
  gradio>=4.0
2
  transformers==4.44.0
3
+ # NOTE: `torch` and `faiss-cpu` are commented out because they commonly
4
+ # fail to build in the Hugging Face Spaces build environment. If your
5
+ # Space requires them, install a CPU wheel manually or use a custom
6
+ # Docker image. See README or the build logs for guidance.
7
+ # torch==2.4.0
8
+ # faiss-cpu==1.8.0
9
  sentence-transformers==3.0.1
 
10
  langchain==0.3.0
11
  python-pptx==0.6.23
12
  requests==2.32.3
13
+ biopython==1.83
14
+
15
+ # If you need PyTorch CPU wheels in Spaces, you can add a manual install
16
+ # command in a startup script or use a prebuilt wheel URL, for example:
17
+ # pip install --index-url https://download.pytorch.org/whl/cpu torch==2.4.0+cpu