pathananas commited on
Commit
645176c
·
verified ·
1 Parent(s): b7279ab
Files changed (1) hide show
  1. model.py +4 -4
model.py CHANGED
@@ -194,10 +194,10 @@ Confidence: **{audio_conf}%**
194
  reasoning_lines = []
195
 
196
  if text_label:
197
- reasoning_lines.append(
198
- f"The text expresses a {text_label.lower()} sentiment with emotion "
199
- f"'{emotion_label}'. The topic appears related to {topic_label}."
200
- )
201
  if image_label:
202
  reasoning_lines.append(
203
  f"The uploaded image appears to contain '{image_label}' "
 
194
  reasoning_lines = []
195
 
196
  if text_label:
197
+ reasoning_lines.append(
198
+ f"The text expresses a {text_label.lower()} sentiment with emotion "
199
+ f"'{emotion_label}'. The topic appears related to {topic_label}."
200
+ )
201
  if image_label:
202
  reasoning_lines.append(
203
  f"The uploaded image appears to contain '{image_label}' "