Spaces:
Runtime error
Runtime error
EC2 Default User
commited on
Commit
·
a6314b2
1
Parent(s):
9e72f39
debug
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ logging.basicConfig(format="\n%(asctime)s\n%(message)s", level=logging.INFO, for
|
|
16 |
def load_tagger():
|
17 |
return SequenceTagger.load("flair/ner-english-large")
|
18 |
|
19 |
-
@st.cache(suppress_st_warning=True)
|
20 |
def anonymise_text(text: str, metadata: str = "", white_listed_words: str = ""):
|
21 |
"""anonymise text"""
|
22 |
if st.session_state.n_requests >= 5:
|
|
|
16 |
def load_tagger():
|
17 |
return SequenceTagger.load("flair/ner-english-large")
|
18 |
|
|
|
19 |
def anonymise_text(text: str, metadata: str = "", white_listed_words: str = ""):
|
20 |
"""anonymise text"""
|
21 |
if st.session_state.n_requests >= 5:
|