Fralet commited on
Commit
484c045
·
verified ·
1 Parent(s): a64fe87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -38,7 +38,6 @@ def preprocess_text(text):
38
  question_columns = [f'Q{i}' for i in range(1, 37)] # Adjust the range based on your data columns
39
  data['processed_text'] = data[['CV/Resume'] + question_columns].agg(lambda x: ', '.join(x), axis=1)
40
  #data['processed_text'] = data[['CV/Resume'] + question_columns].agg(lambda x: ', '.join(x), axis=1).apply(preprocess_text)
41
- data_open['processed_text_open'] = data_open[['CV/Resume', 'Question']].agg(' '.join, axis=1)
42
  #data_open['processed_text_open'] = data_open[['CV/Resume', 'Question']].agg(' '.join, axis=1).apply(preprocess_text)
43
  data_open['processed_text_open'] = data_open[['Demo_F', 'Question']].agg(' '.join, axis=1)
44
  data_open['processed_text_mopen'] = data_open[['Demo_M', 'Question']].agg(' '.join, axis=1)
 
38
  question_columns = [f'Q{i}' for i in range(1, 37)] # Adjust the range based on your data columns
39
  data['processed_text'] = data[['CV/Resume'] + question_columns].agg(lambda x: ', '.join(x), axis=1)
40
  #data['processed_text'] = data[['CV/Resume'] + question_columns].agg(lambda x: ', '.join(x), axis=1).apply(preprocess_text)
 
41
  #data_open['processed_text_open'] = data_open[['CV/Resume', 'Question']].agg(' '.join, axis=1).apply(preprocess_text)
42
  data_open['processed_text_open'] = data_open[['Demo_F', 'Question']].agg(' '.join, axis=1)
43
  data_open['processed_text_mopen'] = data_open[['Demo_M', 'Question']].agg(' '.join, axis=1)