Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- functions.py +2 -2
functions.py
CHANGED
@@ -418,7 +418,7 @@ def resume_pdf():
|
|
418 |
text = extract_text_from_pdf(uploaded_file)
|
419 |
|
420 |
# Add text to DataFrame
|
421 |
-
df_rows.append({"File Name": f"File_{idx+1}", "
|
422 |
|
423 |
# # Display extracted text
|
424 |
# st.write(f"### File {idx+1}")
|
@@ -454,7 +454,7 @@ def job_desc_pdf():
|
|
454 |
st.write("## Extracted Text from PDFs")
|
455 |
text = extract_text_from_pdf(uploaded_file)
|
456 |
df_rows = []
|
457 |
-
df_rows.append({"File Name": "Job_Desc", "
|
458 |
# # Iterate over uploaded PDF files
|
459 |
# for uploaded_file in uploaded_files:
|
460 |
# text = extract_text_from_pdf(uploaded_file)
|
|
|
418 |
text = extract_text_from_pdf(uploaded_file)
|
419 |
|
420 |
# Add text to DataFrame
|
421 |
+
df_rows.append({"File Name": f"File_{idx+1}", "description": text})
|
422 |
|
423 |
# # Display extracted text
|
424 |
# st.write(f"### File {idx+1}")
|
|
|
454 |
st.write("## Extracted Text from PDFs")
|
455 |
text = extract_text_from_pdf(uploaded_file)
|
456 |
df_rows = []
|
457 |
+
df_rows.append({"File Name": "Job_Desc", "description": text})
|
458 |
# # Iterate over uploaded PDF files
|
459 |
# for uploaded_file in uploaded_files:
|
460 |
# text = extract_text_from_pdf(uploaded_file)
|