clementBE commited on
Commit
07da78f
·
verified ·
1 Parent(s): 8331209

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -10
app.py CHANGED
@@ -9,18 +9,30 @@ except ImportError:
9
 
10
  # --- Default codes and metadata ---
11
  DEFAULT_CODES = [
12
- "Communication Barrier",
13
- "Emotional Support",
14
- "Future Aspirations",
15
- "Financial Stress",
16
- "Follow-up Needed",
 
 
 
 
 
17
  ]
18
 
19
- METADATA_FIELDS = {
20
- "interview_id": "Interview ID",
21
- "interview_date": "Interview Date",
22
- "occupation": "Occupation",
23
- "age": "Age",
 
 
 
 
 
 
 
24
  }
25
 
26
  # --- File processing ---
 
9
 
10
  # --- Default codes and metadata ---
11
  DEFAULT_CODES = [
12
+ "Travail", # work, employment
13
+ "Famille", # family
14
+ "Formation", # education, training
15
+ "Association", # community / associations
16
+ "Santé", # health
17
+ "Politique", # politics
18
+ "Loisir", # leisure
19
+ "Religion", # religion / spiritual
20
+ "Émigration", # migration
21
+ "Autre", # other / miscellaneous
22
  ]
23
 
24
+
25
+ COLOR_MAP = {
26
+ "Travail": "lightblue",
27
+ "Famille": "lightgreen",
28
+ "Formation": "khaki",
29
+ "Association": "orange",
30
+ "Santé": "lightpink",
31
+ "Politique": "violet",
32
+ "Loisir": "lightcoral",
33
+ "Religion": "lightyellow",
34
+ "Émigration": "lightcyan",
35
+ "Autre": "gray",
36
  }
37
 
38
  # --- File processing ---