File size: 835 Bytes
e0ed5b5
 
 
 
68922f9
e0ed5b5
68922f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e0ed5b5
68922f9
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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()