m. polinsky
commited on
Commit
•
a2bb83f
1
Parent(s):
c0ff6c3
Update streamlit_app.py
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
@@ -89,7 +89,7 @@ def perform_ner(tup:namedtuple('article',['link','hed','entities', 'source']), c
|
|
89 |
tup.entities.append(i)
|
90 |
|
91 |
|
92 |
-
|
93 |
def ner_query(payload):
|
94 |
print("making a query....")
|
95 |
data = json.dumps(payload)
|
|
|
89 |
tup.entities.append(i)
|
90 |
|
91 |
|
92 |
+
@st.cache()
|
93 |
def ner_query(payload):
|
94 |
print("making a query....")
|
95 |
data = json.dumps(payload)
|