Jeet Paul commited on
Commit
efa6192
·
1 Parent(s): bbbf59d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,9 +29,9 @@ def pdf_to_text(file):
29
  text = extract_text(file)
30
  return text
31
 
32
- def predict_category(resumes_data, selected_category):
33
  # Load the trained DeepRank model
34
- model = load_deeprank_model()
35
 
36
  # Process the resumes data
37
  resumes_df = pd.DataFrame(resumes_data)
 
29
  text = extract_text(file)
30
  return text
31
 
32
+ def predict_category(resumes_data, selected_category,max_sequence_length):
33
  # Load the trained DeepRank model
34
+ model = load_deeprank_model(max_sequence_length)
35
 
36
  # Process the resumes data
37
  resumes_df = pd.DataFrame(resumes_data)