Spaces:
Sleeping
Sleeping
Update appStore/target.py
Browse files- appStore/target.py +0 -5
appStore/target.py
CHANGED
@@ -61,8 +61,6 @@ def app():
|
|
61 |
|
62 |
# Load the existing dataset
|
63 |
df = st.session_state.key1
|
64 |
-
st.write("This is key 1 - utils")
|
65 |
-
st.write(df.head())
|
66 |
|
67 |
# Load the classifier model
|
68 |
classifier = load_targetClassifier(classifier_name=params['model_name'])
|
@@ -71,13 +69,10 @@ def app():
|
|
71 |
|
72 |
# test
|
73 |
if "target_classifier" not in st.session_state:
|
74 |
-
st.write("target classifier not saved :(")
|
75 |
|
76 |
df = target_classification(haystack_doc=df,
|
77 |
threshold= params['threshold'])
|
78 |
|
79 |
-
st.write("This is the second part")
|
80 |
-
st.write(df)
|
81 |
st.session_state.key1 = df
|
82 |
|
83 |
|
|
|
61 |
|
62 |
# Load the existing dataset
|
63 |
df = st.session_state.key1
|
|
|
|
|
64 |
|
65 |
# Load the classifier model
|
66 |
classifier = load_targetClassifier(classifier_name=params['model_name'])
|
|
|
69 |
|
70 |
# test
|
71 |
if "target_classifier" not in st.session_state:
|
|
|
72 |
|
73 |
df = target_classification(haystack_doc=df,
|
74 |
threshold= params['threshold'])
|
75 |
|
|
|
|
|
76 |
st.session_state.key1 = df
|
77 |
|
78 |
|