AnishaG0201 commited on
Commit
112a42c
·
verified ·
1 Parent(s): 0ea37df

Update Project_suggestions.py

Browse files
Files changed (1) hide show
  1. Project_suggestions.py +5 -3
Project_suggestions.py CHANGED
@@ -15,7 +15,7 @@ load_dotenv()
15
 
16
 
17
 
18
- def suggest_projects(skills, roles, topics, level, difficulty,model, domain=None, industry=None):
19
  prompt = f"""
20
  Based on the following information, suggest relevant projects:
21
  - Skills: {skills}
@@ -69,10 +69,12 @@ def app():
69
  topics = analysis_data.get("Topics", "")
70
  level = analysis_data.get("Level of Understanding", "")
71
  difficulty = analysis_data.get("Difficulty", "")
 
 
72
 
73
  # Optional fields for domain and industry
74
- domain = st.text_input("Optional: Domain")
75
- industry = st.text_input("Optional: Industry")
76
 
77
 
78
  # Suggest projects based on analysis
 
15
 
16
 
17
 
18
+ def suggest_projects(skills, roles, topics, level, difficulty,model, domain, industry):
19
  prompt = f"""
20
  Based on the following information, suggest relevant projects:
21
  - Skills: {skills}
 
69
  topics = analysis_data.get("Topics", "")
70
  level = analysis_data.get("Level of Understanding", "")
71
  difficulty = analysis_data.get("Difficulty", "")
72
+ domain = analysis_data.get("domain", "")
73
+ industry = analysis_data.get("industry", "")
74
 
75
  # Optional fields for domain and industry
76
+ # domain = st.text_input("Optional: Domain")
77
+ # industry = st.text_input("Optional: Industry")
78
 
79
 
80
  # Suggest projects based on analysis