File size: 626 Bytes
6370773
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import pandas as pd
from data_loader import load_data
from recommender import recommend_jobs
from user_interface import display_results

def main():
    # Load job data
    jobs_df = load_data('./datasets/indeed.csv')
    
    # Debug: Print the columns of the DataFrame
    print("Columns in jobs_df:", jobs_df.columns.tolist())

    user_skills = input("Enter your skills separated by commas: ").split(',')
    user_role = input("Enter the job role you are searching for: ")

    recommended_jobs = recommend_jobs(jobs_df, user_skills, user_role)
    display_results(recommended_jobs)

if __name__ == "__main__":
    main()