yaowenxu commited on
Commit
66c82d4
·
1 Parent(s): c88c9f5

Signed-off-by: Michael_Xu <[email protected]>

Files changed (2) hide show
  1. Dockerfile +2 -4
  2. app.py +1 -0
Dockerfile CHANGED
@@ -15,15 +15,13 @@ RUN apt-get update && apt-get install -y \
15
  RUN pip install -U --no-cache-dir \
16
  cmake==4.0.3 \
17
  pybind11==2.13.6 \
18
- spacy==3.5.0 \
19
- torch==1.13.1
20
 
21
  COPY requirements.txt .
22
 
23
  RUN pip install -r requirements.txt
24
 
25
- RUN pip install -U --no-cache-dir \
26
- numpy==1.24.1
27
 
28
  RUN python -m spacy download en_core_web_sm
29
 
 
15
  RUN pip install -U --no-cache-dir \
16
  cmake==4.0.3 \
17
  pybind11==2.13.6 \
18
+ spacy==3.5.0
 
19
 
20
  COPY requirements.txt .
21
 
22
  RUN pip install -r requirements.txt
23
 
24
+ RUN pip install -U --no-cache-dir numpy==1.24.1
 
25
 
26
  RUN python -m spacy download en_core_web_sm
27
 
app.py CHANGED
@@ -19,6 +19,7 @@ MAX_EXAMPLAR = 8
19
 
20
  examples = [
21
  ["She should be more polite with the customers."],
 
22
  ["The advantage of a bad memory is that one enjoys several times the same good things for the first time."],
23
  ]
24
 
 
19
 
20
  examples = [
21
  ["She should be more polite with the customers."],
22
+ ["She said, \"I am tired.\" She said that she was tired."],
23
  ["The advantage of a bad memory is that one enjoys several times the same good things for the first time."],
24
  ]
25