Spaces:
Runtime error
Runtime error
Test changes
#1
by
schlenker
- opened
app.py
CHANGED
@@ -7,6 +7,11 @@ from transformers import AutoTokenizer
|
|
7 |
import numpy as np
|
8 |
import time
|
9 |
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
@st.cache_resource
|
12 |
def get_models():
|
|
|
7 |
import numpy as np
|
8 |
import time
|
9 |
|
10 |
+
# JS
|
11 |
+
import nltk
|
12 |
+
nltk.download('wordnet')
|
13 |
+
from nltk.corpus import wordnet as wn
|
14 |
+
|
15 |
|
16 |
@st.cache_resource
|
17 |
def get_models():
|