Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ SYSTEM_PROMPT = (
|
|
24 |
)
|
25 |
|
26 |
# Define learning paths
|
27 |
-
|
28 |
"python_beginner": {
|
29 |
"title": "Python Fundamentals",
|
30 |
"description": "Learn Python basics from variables to functions",
|
@@ -103,8 +103,7 @@ LEARNING_PATHS = {
|
|
103 |
]
|
104 |
}
|
105 |
}
|
106 |
-
|
107 |
-
# Learning resources organized by learning style
|
108 |
LEARNING_RESOURCES = {
|
109 |
"Visual": {
|
110 |
"python_beginner": [
|
@@ -372,6 +371,7 @@ LEARNING_RESOURCES = {
|
|
372 |
}
|
373 |
}
|
374 |
|
|
|
375 |
# Practice project ideas based on learning style
|
376 |
PROJECT_IDEAS = {
|
377 |
"Visual": {
|
@@ -461,7 +461,6 @@ PROJECT_IDEAS = {
|
|
461 |
"Sentiment Analysis for Literature",
|
462 |
"Technical Writing Enhancement System"
|
463 |
],
|
464 |
-
|
465 |
"generative_ai": [
|
466 |
"Fine-tuned GPT Model for Specific Domain",
|
467 |
"Text-to-Image Generation App",
|
@@ -476,7 +475,6 @@ PROJECT_IDEAS = {
|
|
476 |
"Task Planning Agent",
|
477 |
"Autonomous Data Analysis System"
|
478 |
]
|
479 |
-
}
|
480 |
}
|
481 |
|
482 |
# User session data store
|
@@ -1015,7 +1013,7 @@ def create_chatbot():
|
|
1015 |
border-radius: 4px;
|
1016 |
}}
|
1017 |
"""
|
1018 |
-
|
1019 |
with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="blue")) as demo:
|
1020 |
gr.HTML("<div id='title'>🎓 AI Teaching Assistant</div>")
|
1021 |
gr.HTML("<div id='subtitle'>Your personalized learning companion for Python, Data Science & AI</div>")
|
|
|
24 |
)
|
25 |
|
26 |
# Define learning paths
|
27 |
+
{
|
28 |
"python_beginner": {
|
29 |
"title": "Python Fundamentals",
|
30 |
"description": "Learn Python basics from variables to functions",
|
|
|
103 |
]
|
104 |
}
|
105 |
}
|
106 |
+
# Learning resources
|
|
|
107 |
LEARNING_RESOURCES = {
|
108 |
"Visual": {
|
109 |
"python_beginner": [
|
|
|
371 |
}
|
372 |
}
|
373 |
|
374 |
+
# Practice project ideas
|
375 |
# Practice project ideas based on learning style
|
376 |
PROJECT_IDEAS = {
|
377 |
"Visual": {
|
|
|
461 |
"Sentiment Analysis for Literature",
|
462 |
"Technical Writing Enhancement System"
|
463 |
],
|
|
|
464 |
"generative_ai": [
|
465 |
"Fine-tuned GPT Model for Specific Domain",
|
466 |
"Text-to-Image Generation App",
|
|
|
475 |
"Task Planning Agent",
|
476 |
"Autonomous Data Analysis System"
|
477 |
]
|
|
|
478 |
}
|
479 |
|
480 |
# User session data store
|
|
|
1013 |
border-radius: 4px;
|
1014 |
}}
|
1015 |
"""
|
1016 |
+
|
1017 |
with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="blue")) as demo:
|
1018 |
gr.HTML("<div id='title'>🎓 AI Teaching Assistant</div>")
|
1019 |
gr.HTML("<div id='subtitle'>Your personalized learning companion for Python, Data Science & AI</div>")
|