Spaces:
Sleeping
Sleeping
ProfessorLeVesseur
commited on
Commit
•
82fadde
1
Parent(s):
d4058d0
Update Personalized_Text_Annotation.py
Browse files
Personalized_Text_Annotation.py
CHANGED
@@ -3,7 +3,6 @@
|
|
3 |
#------------------------------------------------------------------------
|
4 |
|
5 |
import streamlit as st
|
6 |
-
import spacy
|
7 |
import string
|
8 |
from annotated_text import annotated_text
|
9 |
from PIL import Image
|
@@ -11,9 +10,6 @@ from pathlib import Path
|
|
11 |
from dotenv import load_dotenv
|
12 |
load_dotenv()
|
13 |
|
14 |
-
# Load the English NLP model
|
15 |
-
nlp = spacy.load("en_core_web_sm")
|
16 |
-
|
17 |
#------------------------------------------------------------------------
|
18 |
# Configurations
|
19 |
#------------------------------------------------------------------------
|
|
|
3 |
#------------------------------------------------------------------------
|
4 |
|
5 |
import streamlit as st
|
|
|
6 |
import string
|
7 |
from annotated_text import annotated_text
|
8 |
from PIL import Image
|
|
|
10 |
from dotenv import load_dotenv
|
11 |
load_dotenv()
|
12 |
|
|
|
|
|
|
|
13 |
#------------------------------------------------------------------------
|
14 |
# Configurations
|
15 |
#------------------------------------------------------------------------
|