Spaces:
Running
Running
Zekun Wu
commited on
Commit
·
106ffe4
1
Parent(s):
16842d6
update
Browse files- pages/1_Injection.py +1 -1
pages/1_Injection.py
CHANGED
@@ -107,7 +107,7 @@ else:
|
|
107 |
# Process data and display results
|
108 |
with st.spinner('Processing data...'):
|
109 |
parameters = {"temperature": st.session_state.temperature, "max_tokens": st.session_state.max_tokens}
|
110 |
-
preprocessed_df = process_scores_multiple(df, st.session_state.num_run, parameters, st.session_state.privilege_label,st.session_state.protect_label, agent, st.session_state.group_name,st.session_state.
|
111 |
st.session_state.data_processed = True # Mark as processed
|
112 |
|
113 |
st.write('Processed Data:', preprocessed_df)
|
|
|
107 |
# Process data and display results
|
108 |
with st.spinner('Processing data...'):
|
109 |
parameters = {"temperature": st.session_state.temperature, "max_tokens": st.session_state.max_tokens}
|
110 |
+
preprocessed_df = process_scores_multiple(df, st.session_state.num_run, parameters, st.session_state.privilege_label,st.session_state.protect_label, agent, st.session_state.group_name,st.session_state.occupation)#,st.session_state.charateristics)
|
111 |
st.session_state.data_processed = True # Mark as processed
|
112 |
|
113 |
st.write('Processed Data:', preprocessed_df)
|