Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -994,7 +994,7 @@ def analyze_candidates(job_description: str) -> str:
|
|
| 994 |
# Try to parse and pretty-print JSON for cleaner output
|
| 995 |
try:
|
| 996 |
bias_obj = _parse_json_or_raise(bias_audit_raw)
|
| 997 |
-
bias_audit = json.dumps(bias_obj, indent=2)
|
| 998 |
except Exception:
|
| 999 |
# Fallback: show raw output if parsing fails
|
| 1000 |
bias_audit = bias_audit_raw
|
|
|
|
| 994 |
# Try to parse and pretty-print JSON for cleaner output
|
| 995 |
try:
|
| 996 |
bias_obj = _parse_json_or_raise(bias_audit_raw)
|
| 997 |
+
bias_audit = json.dumps(bias_obj, indent=2, ensure_ascii=False)
|
| 998 |
except Exception:
|
| 999 |
# Fallback: show raw output if parsing fails
|
| 1000 |
bias_audit = bias_audit_raw
|