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

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 = 20
54
 
55
  for i in range(1, 51): # Looping for 2 applicants
56
  st.subheader(f"Applicant {i} Resume", divider="green")
@@ -107,7 +107,7 @@ st.subheader("Visualise", divider="blue")
107
 
108
  if 'upload_count' not in st.session_state:
109
  st.session_state['upload_count'] = 0
110
- max_attempts = 3
111
 
112
  if st.session_state['upload_count'] < max_attempts:
113
  uploaded_files = st.file_uploader("Upload Applicant's resume", type="pdf", key="applicant 1")
 
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")
 
107
 
108
  if 'upload_count' not in st.session_state:
109
  st.session_state['upload_count'] = 0
110
+ max_attempts = 2
111
 
112
  if st.session_state['upload_count'] < max_attempts:
113
  uploaded_files = st.file_uploader("Upload Applicant's resume", type="pdf", key="applicant 1")