Spaces:
Running
Running
Update src/app_job_copy_1.py
Browse files- src/app_job_copy_1.py +1 -1
src/app_job_copy_1.py
CHANGED
@@ -499,7 +499,6 @@ def display_job_selection(jobs_df, candidates_df, sh):
|
|
499 |
should_display = True
|
500 |
final_candidates = st.session_state.Selected_Candidates.get(selected_job_index, [])
|
501 |
elif existing_candidates_from_sheet:
|
502 |
-
time.sleep(10)
|
503 |
should_display = True
|
504 |
headers = existing_candidates_from_sheet[0]
|
505 |
for row in existing_candidates_from_sheet[1:]:
|
@@ -508,6 +507,7 @@ def display_job_selection(jobs_df, candidates_df, sh):
|
|
508 |
except: cand['Fit Score'] = 0.0
|
509 |
final_candidates.append(cand)
|
510 |
final_candidates.sort(key=lambda x: x.get('Fit Score',0.0), reverse=True)
|
|
|
511 |
if not st.session_state[job_processed_key]:
|
512 |
st.info(f"Displaying: '{sheet_name}'.")
|
513 |
|
|
|
499 |
should_display = True
|
500 |
final_candidates = st.session_state.Selected_Candidates.get(selected_job_index, [])
|
501 |
elif existing_candidates_from_sheet:
|
|
|
502 |
should_display = True
|
503 |
headers = existing_candidates_from_sheet[0]
|
504 |
for row in existing_candidates_from_sheet[1:]:
|
|
|
507 |
except: cand['Fit Score'] = 0.0
|
508 |
final_candidates.append(cand)
|
509 |
final_candidates.sort(key=lambda x: x.get('Fit Score',0.0), reverse=True)
|
510 |
+
time.sleep(10)
|
511 |
if not st.session_state[job_processed_key]:
|
512 |
st.info(f"Displaying: '{sheet_name}'.")
|
513 |
|