XufengDuan commited on
Commit
8588482
·
1 Parent(s): 839b9a6

update scripts

Browse files
.idea/workspace.xml CHANGED
@@ -5,7 +5,6 @@
5
  </component>
6
  <component name="ChangeListManager">
7
  <list default="true" id="b60b8d5d-762f-4021-9ce4-054078cb27a7" name="Changes" comment="">
8
- <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
9
  <change beforePath="$PROJECT_DIR$/src/backend/model_operations.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/backend/model_operations.py" afterDir="false" />
10
  </list>
11
  <option name="SHOW_DIALOG" value="false" />
 
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" />
src/backend/model_operations.py CHANGED
@@ -36,7 +36,7 @@ import subprocess
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
- subprocess.run(["pip", "install", "curated-transformer"], check=True)
40
 
41
 
42
 
 
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
+ subprocess.run(["pip", "install", "curated-transformers==0.1.1"], check=True)
40
 
41
 
42