pathananas commited on
Commit
f5dc964
·
verified ·
1 Parent(s): 3edae92

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +12 -1
model.py CHANGED
@@ -84,7 +84,14 @@ def multimodal_analyze(text, image, audio):
84
  "entertainment",
85
  "health",
86
  "science",
87
- "sports"
 
 
 
 
 
 
 
88
  ]
89
  image_label = None
90
  image_conf = 0
@@ -226,6 +233,10 @@ Confidence: **{audio_conf}%**
226
  "The textual topic relates to technology, which aligns with the detected visual content."
227
  )
228
 
 
 
 
 
229
  # ================= FUSION SCORE =================
230
 
231
  fusion_score = 0
 
84
  "entertainment",
85
  "health",
86
  "science",
87
+ "sports",
88
+ "Lifestyle",
89
+ "Personal Development",
90
+ "History & Humanities",
91
+ "Finance",
92
+ "Case Studies",
93
+ "News & Analysis",
94
+ "Interviews"
95
  ]
96
  image_label = None
97
  image_conf = 0
 
233
  "The textual topic relates to technology, which aligns with the detected visual content."
234
  )
235
 
236
+ reasoning_lines.append(
237
+ "The system evaluated textual sentiment, visual context, and vocal tone to determine multimodal alignment."
238
+ )
239
+
240
  # ================= FUSION SCORE =================
241
 
242
  fusion_score = 0