Imarticuslearning commited on
Commit
d8f6704
·
verified ·
1 Parent(s): c127047

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -791,6 +791,18 @@ else:
791
 
792
  st.sidebar.success(f"✅ Loaded {difficulty}-level questions from {selected_level}")
793
 
 
 
 
 
 
 
 
 
 
 
 
 
794
  elif section_choice == "Company Specific" and st.session_state["selected_domain"] == "Finance":
795
  excel_path = os.path.join("data", "Company Specific.xlsx")
796
  try:
 
791
 
792
  st.sidebar.success(f"✅ Loaded {difficulty}-level questions from {selected_level}")
793
 
794
+ else:
795
+ # For Analytics or any other domain
796
+ skills = {
797
+ "Analytics": ["Python", "SQL", "Machine Learning", "Statistics", "Business Analytics"]
798
+ }
799
+ skill_list = skills.get(st.session_state["selected_domain"], [])
800
+ if skill_list:
801
+ selected_skill = st.sidebar.selectbox("Select a Skill:", skill_list, key="skill_select")
802
+ input_text = selected_skill
803
+ st.sidebar.markdown(f"✅ Selected Skill: **{selected_skill}**")
804
+
805
+
806
  elif section_choice == "Company Specific" and st.session_state["selected_domain"] == "Finance":
807
  excel_path = os.path.join("data", "Company Specific.xlsx")
808
  try: