mednow commited on
Commit
9d9594c
·
verified ·
1 Parent(s): 9bcd132

Upload 3 files

Browse files
Files changed (2) hide show
  1. dockerfile +2 -2
  2. requirements.txt +32 -4
dockerfile CHANGED
@@ -18,8 +18,8 @@ RUN pip install --no-cache-dir -r requirements.txt
18
  # Download the Spacy model and link it
19
  RUN python -m spacy download en_core_web_sm
20
 
21
- # Verify the Spacy model is correctly installed
22
- RUN python -c "import spacy; spacy.load('en_core_web_sm')"
23
 
24
  # Copy the rest of the application code into the container
25
  COPY . .
 
18
  # Download the Spacy model and link it
19
  RUN python -m spacy download en_core_web_sm
20
 
21
+ # # Verify the Spacy model is correctly installed
22
+ # RUN python -c "import spacy; spacy.load('en_core_web_sm')"
23
 
24
  # Copy the rest of the application code into the container
25
  COPY . .
requirements.txt CHANGED
@@ -1,7 +1,35 @@
1
- pickle5
2
- numpy
3
- streamlit
4
- tensorflow
5
  spacy==3.5.0
 
 
 
 
 
 
6
  # SpaCy model
7
  https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0.tar.gz
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core dependencies
2
+ numpy==2.0.1
 
 
3
  spacy==3.5.0
4
+ streamlit==1.23.0
5
+ tensorflow==2.14.0
6
+
7
+ # Correct Pydantic version compatible with SpaCy
8
+ pydantic==1.10.11
9
+
10
  # SpaCy model
11
  https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0.tar.gz
12
+
13
+ # Additional dependencies
14
+ pickle5==0.0.11
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+ # pickle5
30
+ # numpy
31
+ # streamlit
32
+ # tensorflow
33
+ # spacy==3.5.0
34
+ # # SpaCy model
35
+ # https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0.tar.gz