Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import string
|
|
5 |
# import for loading python objects (scikit-learn models)
|
6 |
import pickle
|
7 |
import streamlit as st
|
8 |
-
import
|
9 |
|
10 |
def custom_tokenizer_with_Turkish_stemmer(text):
|
11 |
# my text was unicode so I had to use the unicode-specific translate function. If your documents are strings, you will need to use a different `translate` function here. `Translated` here just does search-replace. See the trans_table: any matching character in the set is replaced with `None`
|
|
|
5 |
# import for loading python objects (scikit-learn models)
|
6 |
import pickle
|
7 |
import streamlit as st
|
8 |
+
import sklearn
|
9 |
|
10 |
def custom_tokenizer_with_Turkish_stemmer(text):
|
11 |
# my text was unicode so I had to use the unicode-specific translate function. If your documents are strings, you will need to use a different `translate` function here. `Translated` here just does search-replace. See the trans_table: any matching character in the set is replaced with `None`
|