Spaces:
Runtime error
Runtime error
Daniil Larionov
commited on
removed caching
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import streamlit as st
|
|
2 |
import transformers as tr
|
3 |
import spacy as sp
|
4 |
|
5 |
-
@st.cache
|
6 |
def load_pipeline(name: str):
|
7 |
return tr.pipeline('token-classification', model=name)
|
8 |
|
|
|
2 |
import transformers as tr
|
3 |
import spacy as sp
|
4 |
|
|
|
5 |
def load_pipeline(name: str):
|
6 |
return tr.pipeline('token-classification', model=name)
|
7 |
|