Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
-
os.system('python -m spacy download
|
4 |
import spacy
|
5 |
from spacy import displacy
|
6 |
|
7 |
-
nlp = spacy.load("
|
8 |
|
9 |
def text_analysis(text):
|
10 |
doc = nlp(text)
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
os.system('python -m spacy download ko_core_news_sm')
|
4 |
import spacy
|
5 |
from spacy import displacy
|
6 |
|
7 |
+
nlp = spacy.load("ko_core_news_sm")
|
8 |
|
9 |
def text_analysis(text):
|
10 |
doc = nlp(text)
|