Skip to content

Commit 90cc5ef

Browse files
Potential fix for pull request finding 'Unused local variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 96f12ad commit 90cc5ef

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

viewer/conversations.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,16 +227,6 @@ def conversations_component(
227227
if pd.notna(score)
228228
else None
229229
)
230-
color = (
231-
"#10b981"
232-
if score_val and score_val >= 80
233-
else (
234-
"#ef4444"
235-
if score_val
236-
and score_val < 40
237-
else "#f59e0b"
238-
)
239-
)
240230
unit_str = f" {unit}" if unit and str(unit) != "nan" else ""
241231
score_str = f"{score_val:.0f}{unit_str}" if score_val is not None else ""
242232

0 commit comments

Comments
 (0)