Spaces:
Runtime error
Runtime error
Nihal D'Souza
commited on
Commit
·
0a1b9a0
1
Parent(s):
e41b03f
Removed st.cache from inference
Browse files- src/doc2vec.py +0 -1
src/doc2vec.py
CHANGED
@@ -114,7 +114,6 @@ def scores_to_df(scores):
|
|
114 |
data = {'License': license_names, 'Similarity Scores': license_scores}
|
115 |
return pd.DataFrame.from_dict(data)
|
116 |
|
117 |
-
@st.cache
|
118 |
def inference(input):
|
119 |
'''
|
120 |
Given text input, returns list of tuples containing predictions and confidence scores
|
|
|
114 |
data = {'License': license_names, 'Similarity Scores': license_scores}
|
115 |
return pd.DataFrame.from_dict(data)
|
116 |
|
|
|
117 |
def inference(input):
|
118 |
'''
|
119 |
Given text input, returns list of tuples containing predictions and confidence scores
|