Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -329,7 +329,7 @@ def analyze_single_message(text, thresholds):
|
|
329 |
stage = 2 if explicit_abuse or abuse_score > 70 else 1
|
330 |
logger.debug(f"Final stage: {stage}")
|
331 |
|
332 |
-
|
333 |
return abuse_score, threshold_labels, matched_scores, {"label": sentiment}, stage, darvo_score, tone_tag
|
334 |
|
335 |
except Exception as e:
|
|
|
329 |
stage = 2 if explicit_abuse or abuse_score > 70 else 1
|
330 |
logger.debug(f"Final stage: {stage}")
|
331 |
|
332 |
+
logger.debug("=== DEBUG END ===\n")
|
333 |
return abuse_score, threshold_labels, matched_scores, {"label": sentiment}, stage, darvo_score, tone_tag
|
334 |
|
335 |
except Exception as e:
|