sasha HF staff commited on
Commit
c0ad028
1 Parent(s): 463cba4

trying hack

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,7 +3,10 @@ from spacy.symbols import *
3
  import streamlit as st
4
  import html
5
  import spacy
 
 
6
 
 
7
 
8
  from htbuilder import H, HtmlElement, styles
9
  from htbuilder.units import unit
 
3
  import streamlit as st
4
  import html
5
  import spacy
6
+ import subprocess
7
+ import sys
8
 
9
+ subprocess.run([f"{sys.executable}", "python -m spacy download en_core_web_sm"])
10
 
11
  from htbuilder import H, HtmlElement, styles
12
  from htbuilder.units import unit