XufengDuan commited on
Commit
13e5539
1 Parent(s): 007425a

update scripts

Browse files
.idea/workspace.xml CHANGED
@@ -5,8 +5,7 @@
5
  </component>
6
  <component name="ChangeListManager">
7
  <list default="true" id="b60b8d5d-762f-4021-9ce4-054078cb27a7" name="Changes" comment="">
8
- <change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/requirements.txt" beforeDir="false" afterPath="$PROJECT_DIR$/requirements.txt" afterDir="false" />
10
  </list>
11
  <option name="SHOW_DIALOG" value="false" />
12
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
 
5
  </component>
6
  <component name="ChangeListManager">
7
  <list default="true" id="b60b8d5d-762f-4021-9ce4-054078cb27a7" name="Changes" comment="">
8
+ <change beforePath="$PROJECT_DIR$/src/backend/model_operations.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/backend/model_operations.py" afterDir="false" />
 
9
  </list>
10
  <option name="SHOW_DIALOG" value="false" />
11
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
src/backend/model_operations.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
 
36
  # Run the command to download the spaCy model
37
  subprocess.run(["python", "-m", "spacy", "download", "en_core_web_trf"], check=True)
 
38
 
39
 
40
 
 
35
 
36
  # Run the command to download the spaCy model
37
  subprocess.run(["python", "-m", "spacy", "download", "en_core_web_trf"], check=True)
38
+ subprocess.run(["pip", "install", "spacy-transformers"], check=True)
39
 
40
 
41