Download app.py from Nassira/all_code: direct link, hf CLI and curl.
- Browser
- Download file 835 Bytes
-
https://huggingface.co/spaces/Nassira/all_code/resolve/main/app.py
- Command line
-
hf download hf://spaces/Nassira/all_code/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Nassira/all_code/resolve/main/app.py
835 Bytes
| import streamlit as st | |
| from cv_analyzer import analyze_cv | |
| from personal_information import analyze_personal_info | |
| from spelling_grammar_checker import evaluate_cv_text | |
| # Import other necessary modules | |
| def main(): | |
| st.title('CV Analysis App') | |
| uploaded_file = st.file_uploader("Upload a CV", type=["pdf", "png", "jpg", "jpeg"]) | |
| if uploaded_file is not None: | |
| # Process the uploaded file | |
| cv_analysis = analyze_cv(uploaded_file) | |
| personal_info = analyze_personal_info(uploaded_file) | |
| spelling_grammar_score = evaluate_cv_text(uploaded_file) | |
| # Display results | |
| st.write("CV Analysis:", cv_analysis) | |
| st.write("Personal Information:", personal_info) | |
| st.write("Spelling and Grammar Score:", spelling_grammar_score) | |
| if __name__ == "__main__": | |
| main() |