Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -510,7 +510,15 @@ if uploaded_resume and uploaded_job_description:
|
|
510 |
# Generate Tailored Resume Section
|
511 |
st.markdown("---")
|
512 |
# st.subheader("Tailor Resume")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
|
|
|
514 |
if st.button("Tailor Resume"):
|
515 |
with st.spinner("Generating resume..."):
|
516 |
generated_resume, new_resume_path = generate_gemini(resume_path, job_description_path)
|
|
|
510 |
# Generate Tailored Resume Section
|
511 |
st.markdown("---")
|
512 |
# st.subheader("Tailor Resume")
|
513 |
+
|
514 |
+
iframe_code = f"""
|
515 |
+
<iframe src="{resume_path}" width="100%" height="600px"></iframe>
|
516 |
+
"""
|
517 |
+
st.markdown(iframe_code, unsafe_allow_html=True)
|
518 |
+
|
519 |
+
st.components.v1.iframe(resume_path, width=800, height=600)
|
520 |
|
521 |
+
|
522 |
if st.button("Tailor Resume"):
|
523 |
with st.spinner("Generating resume..."):
|
524 |
generated_resume, new_resume_path = generate_gemini(resume_path, job_description_path)
|