AnishaG0201 commited on
Commit
5d8545a
1 Parent(s): 29dea15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +31 -8
app.py CHANGED
@@ -15,11 +15,34 @@ st.set_page_config(page_title="Generate Math Quizzes",
15
 
16
 
17
  def main():
18
- math_topics = {
19
- "Elementary School Level": ["Basic Arithmetic", "Place Value", "Fraction", "Decimals", "Geomerty"],
20
- "Middle School Level": ["Algebra", "Ratio and Proportion", "Percentages", "Geometry", "Integers and Rational Numbers"],
21
- "High School Level": ["Algebra II", "Trigonometry", "Pre-Calculus", "Calculus", "Statistics and Probability"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
 
23
 
24
  st.header("Select AI:")
25
  model = st.radio("Model", [ "Gemini","Open AI",])
@@ -36,15 +59,15 @@ def main():
36
  col1, col2, col3 = st.columns([1, 1, 1])
37
 
38
  with col1:
39
- selected_topic_level = st.selectbox('Select Topic Level', list(math_topics.keys()))
40
 
41
  with col2:
42
- selected_topic = st.selectbox('Select Topic', math_topics[selected_topic_level])
43
 
44
  with col3:
45
- num_quizzes = st.slider('Number Quizzes', min_value=1, max_value= 5, value=1)
46
 
47
- submit = st.button('Generate Quizzes')
48
 
49
 
50
  # Final Response
 
15
 
16
 
17
  def main():
18
+ roles_and_topics = {
19
+
20
+
21
+ roles_and_topics = {
22
+ "Front-End Developer": ["HTML/CSS", "JavaScript and Frameworks (React, Angular, Vue.js)", "Responsive Design", "Browser Compatibility"],
23
+ "Back-End Developer": ["Server-Side Languages (Node.js, Python, Ruby, PHP)", "Database Management (SQL, NoSQL)", "API Development", "Server and Hosting Management"],
24
+ "Full-Stack Developer": ["Combination of Front-End and Back-End Topics", "Integration of Systems", "DevOps Basics"],
25
+ "Mobile Developer": ["Android Development (Java, Kotlin)", "iOS Development (Swift, Objective-C)", "Cross-Platform Development (Flutter, React Native)"],
26
+ "Data Scientist": ["Statistical Analysis", "Machine Learning Algorithms", "Data Wrangling and Cleaning", "Data Visualization"],
27
+ "Data Analyst": ["Data Collection and Processing", "SQL and Database Querying", "Data Visualization Tools (Tableau, Power BI)", "Basic Statistics"],
28
+ "Machine Learning Engineer": ["Supervised and Unsupervised Learning", "Model Deployment", "Deep Learning", "Natural Language Processing"],
29
+ "DevOps Engineer": ["Continuous Integration/Continuous Deployment (CI/CD)", "Containerization (Docker, Kubernetes)", "Infrastructure as Code (Terraform, Ansible)", "Cloud Platforms (AWS, Azure, Google Cloud)"],
30
+ "Cloud Engineer": ["Cloud Architecture", "Cloud Services (Compute, Storage, Networking)", "Security in the Cloud", "Cost Management"],
31
+ "Cybersecurity Analyst": ["Threat Detection and Mitigation", "Security Protocols and Encryption", "Network Security", "Incident Response"],
32
+ "Penetration Tester": ["Vulnerability Assessment", "Ethical Hacking Techniques", "Security Tools (Metasploit, Burp Suite)", "Report Writing and Documentation"],
33
+ "Project Manager": ["Project Planning and Scheduling", "Risk Management", "Agile and Scrum Methodologies", "Stakeholder Communication"],
34
+ "UX/UI Designer": ["User Research", "Wireframing and Prototyping", "Design Principles", "Usability Testing"],
35
+ "Quality Assurance (QA) Engineer": ["Testing Methodologies", "Automation Testing", "Bug Tracking", "Performance Testing"],
36
+ "Blockchain Developer": ["Blockchain Fundamentals", "Smart Contracts", "Cryptographic Algorithms", "Decentralized Applications (DApps)"],
37
+ "Digital Marketing Specialist": ["SEO/SEM", "Social Media Marketing", "Content Marketing", "Analytics and Reporting"],
38
+ "AI Research Scientist": ["AI Theory", "Algorithm Development", "Neural Networks", "Natural Language Processing"],
39
+ "AI Engineer": ["AI Model Deployment", "Machine Learning Engineering", "Deep Learning", "AI Tools and Frameworks"],
40
+ "Generative AI Specialist (GenAI)": ["Generative Models", "GANs (Generative Adversarial Networks)", "Creative AI Applications", "Ethics in AI"],
41
+ "Generative Business Intelligence Specialist (GenBI)": ["Automated Data Analysis", "Business Intelligence Tools", "Predictive Analytics", "AI in Business Strategy"]
42
+ }
43
+
44
  }
45
+
46
 
47
  st.header("Select AI:")
48
  model = st.radio("Model", [ "Gemini","Open AI",])
 
59
  col1, col2, col3 = st.columns([1, 1, 1])
60
 
61
  with col1:
62
+ selected_topic_level = st.selectbox('Select Role', list(roles_and_topics.keys()))
63
 
64
  with col2:
65
+ selected_topic = st.selectbox('Select Topic', roles_and_topics[selected_topic_level])
66
 
67
  with col3:
68
+ num_quizzes = st.slider('Number of Questions', min_value=1, max_value= 10, value=1)
69
 
70
+ submit = st.button('Generate Questions')
71
 
72
 
73
  # Final Response