Skip to content

Commit cb5cbc7

Browse files
committed
chore(api-nodes): switch to credits instead of $
1 parent 650e716 commit cb5cbc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comfy_api_nodes/util/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ def _display_text(
430430
if status:
431431
display_lines.append(f"Status: {status.capitalize() if isinstance(status, str) else status}")
432432
if price is not None:
433-
p = f"{float(price):,.4f}".rstrip("0").rstrip(".")
433+
p = f"{float(price) * 211:,.1f}".rstrip("0").rstrip(".")
434434
if p != "0":
435-
display_lines.append(f"Price: ${p}")
435+
display_lines.append(f"Price: {p} credits")
436436
if text is not None:
437437
display_lines.append(text)
438438
if display_lines:

0 commit comments

Comments
 (0)