Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -85,53 +85,54 @@ def show_info(topic):
|
|
| 85 |
}
|
| 86 |
return responses.get(topic, "Select a category to see the corresponding careers.")
|
| 87 |
|
| 88 |
-
# Resources Page Info
|
| 89 |
def resource_block(career):
|
| 90 |
resources = {
|
| 91 |
"AI/Machine Learning Engineer": {
|
| 92 |
"links": [
|
| 93 |
-
("DeepLearning.AI", "https://www.deeplearning.ai"),
|
| 94 |
-
("Fast.ai", "https://www.fast.ai"),
|
| 95 |
-
("Stanford CS229", "https://cs229.stanford.edu/")
|
| 96 |
],
|
| 97 |
"video": "https://www.youtube.com/embed/5NgNicANyqM"
|
| 98 |
},
|
| 99 |
"Data Scientist": {
|
| 100 |
"links": [
|
| 101 |
-
("Kaggle Learn", "https://www.kaggle.com/learn"),
|
| 102 |
-
("Harvard Data Science", "https://online-learning.harvard.edu/series/data-science"),
|
| 103 |
-
("DataCamp", "https://www.datacamp.com")
|
| 104 |
],
|
| 105 |
"video": "https://www.youtube.com/embed/xC-c7E5PK0Y"
|
| 106 |
},
|
| 107 |
"Cloud Solutions Architect": {
|
| 108 |
"links": [
|
| 109 |
-
("AWS Training", "https://aws.amazon.com/training/"),
|
| 110 |
-
("Azure
|
| 111 |
-
("Google Cloud Boost", "https://cloudskillsboost.google/")
|
| 112 |
],
|
| 113 |
"video": "https://www.youtube.com/embed/Y1OVgGIGvfc"
|
| 114 |
},
|
| 115 |
"Cybersecurity Analyst": {
|
| 116 |
"links": [
|
| 117 |
-
("Cybrary", "https://www.cybrary.it"),
|
| 118 |
-
("MITRE ATT&CK", "https://attack.mitre.org/"),
|
| 119 |
-
("TryHackMe", "https://tryhackme.com")
|
| 120 |
],
|
| 121 |
"video": "https://www.youtube.com/embed/9fWjKkFvQxg"
|
| 122 |
},
|
| 123 |
"Statisticians": {
|
| 124 |
"links": [
|
| 125 |
-
("
|
| 126 |
-
("Khan Academy
|
|
|
|
| 127 |
],
|
| 128 |
"video": "https://www.youtube.com/embed/xxpc-HPKN28"
|
| 129 |
},
|
| 130 |
"Biomedical Engineer": {
|
| 131 |
"links": [
|
| 132 |
-
("
|
| 133 |
-
("edX
|
| 134 |
-
("
|
| 135 |
],
|
| 136 |
"video": "https://www.youtube.com/embed/NM5EekDaF3g"
|
| 137 |
}
|
|
@@ -142,8 +143,8 @@ def resource_block(career):
|
|
| 142 |
return "Select a career to see resources.", ""
|
| 143 |
|
| 144 |
link_html = "<ul>"
|
| 145 |
-
for
|
| 146 |
-
link_html += f'<li><a href="{url}" target="_blank">{
|
| 147 |
link_html += "</ul>"
|
| 148 |
|
| 149 |
video_iframe = f"""
|
|
@@ -168,7 +169,7 @@ with gr.Blocks(theme=theme, css=custom_css) as chatbot:
|
|
| 168 |
description="This tool provides information on STEM Careers."
|
| 169 |
)
|
| 170 |
|
| 171 |
-
with gr.Tab("Explore
|
| 172 |
gr.Markdown("### Explore STEM Career Categories")
|
| 173 |
dropdown_explore = gr.Dropdown(
|
| 174 |
choices=[
|
|
@@ -205,5 +206,3 @@ with gr.Blocks(theme=theme, css=custom_css) as chatbot:
|
|
| 205 |
)
|
| 206 |
|
| 207 |
chatbot.launch()
|
| 208 |
-
|
| 209 |
-
|
|
|
|
| 85 |
}
|
| 86 |
return responses.get(topic, "Select a category to see the corresponding careers.")
|
| 87 |
|
| 88 |
+
# Resources Page Info
|
| 89 |
def resource_block(career):
|
| 90 |
resources = {
|
| 91 |
"AI/Machine Learning Engineer": {
|
| 92 |
"links": [
|
| 93 |
+
("Neural Networks β DeepLearning.AI", "https://www.deeplearning.ai"),
|
| 94 |
+
("Build ML Models β Fast.ai", "https://www.fast.ai"),
|
| 95 |
+
("ML Theory β Stanford CS229", "https://cs229.stanford.edu/")
|
| 96 |
],
|
| 97 |
"video": "https://www.youtube.com/embed/5NgNicANyqM"
|
| 98 |
},
|
| 99 |
"Data Scientist": {
|
| 100 |
"links": [
|
| 101 |
+
("Python & Pandas β Kaggle Learn", "https://www.kaggle.com/learn"),
|
| 102 |
+
("R Programming β Harvard Data Science", "https://online-learning.harvard.edu/series/data-science"),
|
| 103 |
+
("Project Practice β DataCamp", "https://www.datacamp.com")
|
| 104 |
],
|
| 105 |
"video": "https://www.youtube.com/embed/xC-c7E5PK0Y"
|
| 106 |
},
|
| 107 |
"Cloud Solutions Architect": {
|
| 108 |
"links": [
|
| 109 |
+
("AWS Skills β AWS Training", "https://aws.amazon.com/training/"),
|
| 110 |
+
("Azure Certs β Microsoft Learn", "https://learn.microsoft.com/en-us/certifications/"),
|
| 111 |
+
("GCP Labs β Google Cloud Boost", "https://cloudskillsboost.google/")
|
| 112 |
],
|
| 113 |
"video": "https://www.youtube.com/embed/Y1OVgGIGvfc"
|
| 114 |
},
|
| 115 |
"Cybersecurity Analyst": {
|
| 116 |
"links": [
|
| 117 |
+
("Network Security β Cybrary", "https://www.cybrary.it"),
|
| 118 |
+
("Threat Intel β MITRE ATT&CK", "https://attack.mitre.org/"),
|
| 119 |
+
("Ethical Hacking β TryHackMe", "https://tryhackme.com")
|
| 120 |
],
|
| 121 |
"video": "https://www.youtube.com/embed/9fWjKkFvQxg"
|
| 122 |
},
|
| 123 |
"Statisticians": {
|
| 124 |
"links": [
|
| 125 |
+
("Intro to Stats β Coursera (R)", "https://www.coursera.org/specializations/statistics"),
|
| 126 |
+
("Probability β Khan Academy", "https://www.khanacademy.org/math/statistics-probability"),
|
| 127 |
+
("Statistical Tools β OpenIntro", "https://www.openintro.org/book/os/")
|
| 128 |
],
|
| 129 |
"video": "https://www.youtube.com/embed/xxpc-HPKN28"
|
| 130 |
},
|
| 131 |
"Biomedical Engineer": {
|
| 132 |
"links": [
|
| 133 |
+
("Biomedical Research β JHU BME", "https://www.bme.jhu.edu/"),
|
| 134 |
+
("Medical Devices β edX Courses", "https://www.edx.org/learn/biomedical-engineering"),
|
| 135 |
+
("Clinical Trials β NIH", "https://www.nih.gov/")
|
| 136 |
],
|
| 137 |
"video": "https://www.youtube.com/embed/NM5EekDaF3g"
|
| 138 |
}
|
|
|
|
| 143 |
return "Select a career to see resources.", ""
|
| 144 |
|
| 145 |
link_html = "<ul>"
|
| 146 |
+
for label, url in content["links"]:
|
| 147 |
+
link_html += f'<li><strong>{label}</strong>: <a href="{url}" target="_blank">{url}</a></li>'
|
| 148 |
link_html += "</ul>"
|
| 149 |
|
| 150 |
video_iframe = f"""
|
|
|
|
| 169 |
description="This tool provides information on STEM Careers."
|
| 170 |
)
|
| 171 |
|
| 172 |
+
with gr.Tab("Explore Now"): # β
Changed title
|
| 173 |
gr.Markdown("### Explore STEM Career Categories")
|
| 174 |
dropdown_explore = gr.Dropdown(
|
| 175 |
choices=[
|
|
|
|
| 206 |
)
|
| 207 |
|
| 208 |
chatbot.launch()
|
|
|
|
|
|