Spaces:
Sleeping
Sleeping
Commit ·
3cf90da
1
Parent(s): 0ba8d3b
fix upload
Browse files
app.py
CHANGED
|
@@ -328,10 +328,11 @@ jd_text = st.text_area("Paste the Job Description", height=200)
|
|
| 328 |
if st.button("Process Resume", disabled=not (resume_file and jd_text)):
|
| 329 |
score = read_resume(resume_file, jd_text)
|
| 330 |
if score is not None:
|
| 331 |
-
st.success(f"Resume Match Score: {round(score * 100, 2)}%")
|
| 332 |
-
if st.button("Load Dataset"):
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
|
|
|
|
|
| 328 |
if st.button("Process Resume", disabled=not (resume_file and jd_text)):
|
| 329 |
score = read_resume(resume_file, jd_text)
|
| 330 |
if score is not None:
|
| 331 |
+
st.success(f"Resume Match Score: {round(score * 100, 2)}%")
|
| 332 |
+
if st.button("Load Dataset"):
|
| 333 |
+
try:
|
| 334 |
+
dataset = load_dataset("mayankpuvvala/resume_parser_genai")
|
| 335 |
+
st.dataframe(dataset['train'].to_pandas())
|
| 336 |
+
st.write(dataset)
|
| 337 |
+
except Exception as e:
|
| 338 |
+
st.error(f"Failed to load dataset: {e}")
|