Spaces:
Sleeping
Sleeping
Muhammed Essam
commited on
Commit
·
007b880
1
Parent(s):
db6d0c8
Fix: Remove undefined keywords attribute from division
Browse files
app.py
CHANGED
|
@@ -73,8 +73,8 @@ def format_division_matches(matches, names):
|
|
| 73 |
|
| 74 |
output.append(f"**{i}. {match.division}**")
|
| 75 |
output.append(f" - Confidence: {confidence_pct:.1f}% {confidence_bar}")
|
| 76 |
-
|
| 77 |
-
|
| 78 |
output.append("")
|
| 79 |
|
| 80 |
return "\n".join(output)
|
|
|
|
| 73 |
|
| 74 |
output.append(f"**{i}. {match.division}**")
|
| 75 |
output.append(f" - Confidence: {confidence_pct:.1f}% {confidence_bar}")
|
| 76 |
+
if match.department:
|
| 77 |
+
output.append(f" - Department: {match.department}")
|
| 78 |
output.append("")
|
| 79 |
|
| 80 |
return "\n".join(output)
|