Skip to content

Commit

Permalink
fix get_proc() on windows and x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Sep 6, 2024
1 parent df9acdc commit f303c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comfy_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def get_os():


def get_proc():
proc = platform.processor()
proc = platform.machine()

if proc == "x86_64":
if proc == "x86_64" or proc == "AMD64":
return PROC.X86_64
elif "arm" in proc:
return PROC.ARM
Expand Down

0 comments on commit f303c37

Please sign in to comment.