Spaces:
Sleeping
Sleeping
Update appStore/target.py
Browse files- appStore/target.py +4 -0
appStore/target.py
CHANGED
|
@@ -70,6 +70,10 @@ def app():
|
|
| 70 |
df = target_classification(haystack_doc=df,
|
| 71 |
threshold= params['threshold'])
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
st.session_state.key1 = df
|
| 74 |
|
| 75 |
|
|
|
|
| 70 |
df = target_classification(haystack_doc=df,
|
| 71 |
threshold= params['threshold'])
|
| 72 |
|
| 73 |
+
# Rename column
|
| 74 |
+
df.rename(columns={'Target Label': 'Specific action/target/measure mentioned'})
|
| 75 |
+
|
| 76 |
+
|
| 77 |
st.session_state.key1 = df
|
| 78 |
|
| 79 |
|