pathananas commited on
Commit
f4e32d9
·
verified ·
1 Parent(s): 93a7985
Files changed (1) hide show
  1. model.py +8 -6
model.py CHANGED
@@ -266,12 +266,7 @@ Confidence: **{audio_conf}%**
266
  "The textual topic relates to technology, which aligns with the detected visual content."
267
  )
268
 
269
- if alignment_detected:
270
- reasoning_lines.append(
271
- "<b style='color:#22c55e;'>🤖 Technology Alignment:</b> "
272
- "Visual content contains technology-related objects matching the text topic."
273
- )
274
-
275
 
276
 
277
  # ================= FUSION SCORE =================
@@ -341,6 +336,13 @@ Confidence: **{audio_conf}%**
341
  consistency_text = "Moderate alignment between modalities."
342
  else:
343
  consistency_text = "Low consistency detected across modalities."
 
 
 
 
 
 
 
344
  # ================= DISPLAY SUMMARY =================
345
  if not reasoning_lines:
346
  reasoning_lines.append("No multimodal signals detected from the provided inputs.")
 
266
  "The textual topic relates to technology, which aligns with the detected visual content."
267
  )
268
 
269
+
 
 
 
 
 
270
 
271
 
272
  # ================= FUSION SCORE =================
 
336
  consistency_text = "Moderate alignment between modalities."
337
  else:
338
  consistency_text = "Low consistency detected across modalities."
339
+
340
+ if alignment_detected:
341
+ reasoning_lines.append(
342
+ "<b style='color:#22c55e;'>🤖 Technology Alignment:</b> "
343
+ "Visual content contains technology-related objects matching the text topic."
344
+ )
345
+
346
  # ================= DISPLAY SUMMARY =================
347
  if not reasoning_lines:
348
  reasoning_lines.append("No multimodal signals detected from the provided inputs.")