nlpblogs commited on
Commit
b7ff63c
·
verified ·
1 Parent(s): 6424c48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,7 +50,7 @@ job = pd.Series(st.text_area("Paste the job description and then press Ctrl + En
50
  if 'applicant_data' not in st.session_state:
51
  st.session_state['applicant_data'] = {}
52
 
53
- max_attempts = 3
54
 
55
  for i in range(1, 51): # Looping for 2 applicants
56
  st.subheader(f"Applicant {i} Resume", divider="green")
@@ -94,7 +94,7 @@ for i in range(1, 51): # Looping for 2 applicants
94
  st.session_state['applicant_data'][applicant_key]['analysis_done'] = True
95
 
96
  else:
97
- st.warning(f"Applicant {i} has reached the maximum upload attempts ({max_attempts}).")
98
  if st.session_state['applicant_data'][applicant_key]['upload_count'] > 0:
99
  st.info(f"Files uploaded for Applicant {i}: {st.session_state['applicant_data'][applicant_key]['upload_count']} time(s).")
100
 
 
50
  if 'applicant_data' not in st.session_state:
51
  st.session_state['applicant_data'] = {}
52
 
53
+ max_attempts = 1
54
 
55
  for i in range(1, 51): # Looping for 2 applicants
56
  st.subheader(f"Applicant {i} Resume", divider="green")
 
94
  st.session_state['applicant_data'][applicant_key]['analysis_done'] = True
95
 
96
  else:
97
+ st.warning(f"Applicant has reached the maximum upload attempts ({max_attempts}).")
98
  if st.session_state['applicant_data'][applicant_key]['upload_count'] > 0:
99
  st.info(f"Files uploaded for Applicant {i}: {st.session_state['applicant_data'][applicant_key]['upload_count']} time(s).")
100