Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,10 @@ from datetime import datetime, timezone, timedelta
|
|
11 |
import notion_df
|
12 |
import concurrent.futures
|
13 |
from IPython.core.display import HTML
|
|
|
|
|
|
|
|
|
14 |
|
15 |
# Define the tokenizer and model
|
16 |
tokenizer = GPT2Tokenizer.from_pretrained('gpt2-medium')
|
|
|
11 |
import notion_df
|
12 |
import concurrent.futures
|
13 |
from IPython.core.display import HTML
|
14 |
+
import spacy
|
15 |
+
from spacy import displacy
|
16 |
+
|
17 |
+
nlp = spacy.load("en_core_web_sm")
|
18 |
|
19 |
# Define the tokenizer and model
|
20 |
tokenizer = GPT2Tokenizer.from_pretrained('gpt2-medium')
|