Spaces:
Runtime error
Runtime error
trying hack
Browse files
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
|