uditk99 commited on
Commit
d641d33
·
verified ·
1 Parent(s): 0389681

Create postBuild

Browse files
Files changed (1) hide show
  1. postBuild +9 -0
postBuild ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Force uninstall pydantic & spacy in case they're installed as wrong versions
3
+ pip uninstall -y pydantic spacy
4
+
5
+ # Install pinned versions that work together
6
+ pip install pydantic==1.10.9 spacy==3.5.2
7
+
8
+ # Download the en_core_web_sm model for spacy 3.5.x
9
+ python -m spacy download en_core_web_sm