Zekun Wu commited on
Commit
96983ba
1 Parent(s): 3269cbe
Files changed (1) hide show
  1. pages/1_Injection.py +5 -5
pages/1_Injection.py CHANGED
@@ -103,11 +103,11 @@ else:
103
 
104
  df = df[df["Occupation"] == st.session_state.occupation]
105
 
106
- if file_options == "Example":
107
- st.session_state.proportion = st.slider("Proportion", 0.2, 1.0, float(st.session_state.proportion), 0.2)
108
- df_chunked = pd.read_csv("resume_chunked.csv")
109
- column_switch_to = f'{st.session_state.proportion}_diluted'
110
- df = change_column_value(df, df_chunked, 'Cleaned_Resume', column_switch_to)
111
 
112
  df = df.sample(n=st.session_state.sample_size, random_state=42)
113
  st.write('Data:', df)
 
103
 
104
  df = df[df["Occupation"] == st.session_state.occupation]
105
 
106
+ # if file_options == "Example":
107
+ # st.session_state.proportion = st.slider("Proportion", 0.2, 1.0, float(st.session_state.proportion), 0.2)
108
+ # df_chunked = pd.read_csv("resume_chunked.csv")
109
+ # column_switch_to = f'{st.session_state.proportion}_diluted'
110
+ # df = change_column_value(df, df_chunked, 'Cleaned_Resume', column_switch_to)
111
 
112
  df = df.sample(n=st.session_state.sample_size, random_state=42)
113
  st.write('Data:', df)