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

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -16
model.py CHANGED
@@ -192,22 +192,7 @@ Confidence: **{audio_conf}%**
192
  # ================= FUSION REASONING =================
193
 
194
  reasoning_lines = []# ================= CONTRADICTION DETECTION =================
195
- if text_label and audio_label:
196
- if text_label == "POSITIVE" and audio_label == "NEGATIVE":
197
- reasoning_lines.append(
198
- "⚠ Cross-modal inconsistency detected: the text expresses positivity "
199
- "but the voice tone suggests negativity."
200
- )
201
- if text_label == "NEGATIVE" and audio_label == "POSITIVE":
202
- reasoning_lines.append(
203
- "⚠ Cross-modal inconsistency detected: the text expresses negativity "
204
- "while the voice tone appears positive."
205
- )
206
- if image_label and topic_label:
207
- if topic_label == "technology":
208
- reasoning_lines.append(
209
- "The textual topic relates to technology, which aligns with the detected visual content."
210
- )
211
 
212
  if text_label:
213
  reasoning_lines.append(
 
192
  # ================= FUSION REASONING =================
193
 
194
  reasoning_lines = []# ================= CONTRADICTION DETECTION =================
195
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
 
197
  if text_label:
198
  reasoning_lines.append(