Spaces:
Sleeping
Sleeping
model.py
Browse files
model.py
CHANGED
|
@@ -194,10 +194,10 @@ Confidence: **{audio_conf}%**
|
|
| 194 |
reasoning_lines = []
|
| 195 |
|
| 196 |
if text_label:
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 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}' "
|