Fralet commited on
Commit
870e773
·
verified ·
1 Parent(s): 003c037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def preprocess_text(text):
35
  return ' '.join(tokens)
36
 
37
  # Combine relevant text columns for processing
38
- question_columns = [f'Q{i} ' for i in range(1, 37)] # Adjust range if needed
39
  data['processed_text'] = data[['CV/Resume'] + question_columns].agg(', '.join, axis=1).apply(preprocess_text)
40
  data_open['processed_text_open'] = data_open[['CV/Resume', 'Question']].agg(' '.join, axis=1).apply(processed_text_open)
41
 
 
35
  return ' '.join(tokens)
36
 
37
  # Combine relevant text columns for processing
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(', '.join, axis=1).apply(preprocess_text)
40
  data_open['processed_text_open'] = data_open[['CV/Resume', 'Question']].agg(' '.join, axis=1).apply(processed_text_open)
41