Spaces:
Configuration error
Configuration error
Create config.py
Browse files
config.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Configuration file for SEA Prep Tutor
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
# App configuration
|
| 6 |
+
APP_CONFIG = {
|
| 7 |
+
"app_name": "SEA Prep AI Tutor",
|
| 8 |
+
"version": "1.0.0",
|
| 9 |
+
"description": "AI-powered SEA exam preparation platform",
|
| 10 |
+
"author": "Your Name",
|
| 11 |
+
"max_file_size_mb": 10,
|
| 12 |
+
"supported_formats": [".pdf"],
|
| 13 |
+
"default_student_id": "default"
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
# Subject configuration
|
| 17 |
+
SUBJECTS = {
|
| 18 |
+
"Math": {
|
| 19 |
+
"topics": [
|
| 20 |
+
"Number Concepts", "Computation", "Fractions", "Decimals", "Percentages",
|
| 21 |
+
"Measurement", "Geometry", "Algebra", "Statistics", "Word Problems"
|
| 22 |
+
],
|
| 23 |
+
"question_types": ["MCQ", "Short Answer", "Problem Solving", "Word Problem"]
|
| 24 |
+
},
|
| 25 |
+
"Language Arts": {
|
| 26 |
+
"topics": [
|
| 27 |
+
"Comprehension", "Grammar", "Vocabulary", "Punctuation",
|
| 28 |
+
"Spelling", "Creative Writing", "Letter Writing", "Essay Writing"
|
| 29 |
+
],
|
| 30 |
+
"question_types": ["MCQ", "Comprehension", "Grammar Exercise", "Writing Prompt"]
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
# Difficulty mapping
|
| 35 |
+
DIFFICULTY_LEVELS = {
|
| 36 |
+
1: {"label": "Very Easy", "color": "#4CAF50"},
|
| 37 |
+
2: {"label": "Easy", "color": "#8BC34A"},
|
| 38 |
+
3: {"label": "Medium", "color": "#FFC107"},
|
| 39 |
+
4: {"label": "Hard", "color": "#FF9800"},
|
| 40 |
+
5: {"label": "Very Hard", "color": "#F44336"}
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
# Gradio theme configuration
|
| 44 |
+
GRADIO_THEME = {
|
| 45 |
+
"primary_hue": "blue",
|
| 46 |
+
"secondary_hue": "yellow",
|
| 47 |
+
"neutral_hue": "gray",
|
| 48 |
+
"font": ("Helvetica", "Arial", "sans-serif")
|
| 49 |
+
}
|