Skip to content

Commit f303c37

Browse files
committed
fix get_proc() on windows and x86_64
1 parent df9acdc commit f303c37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comfy_cli/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ def get_os():
5555

5656

5757
def get_proc():
58-
proc = platform.processor()
58+
proc = platform.machine()
5959

60-
if proc == "x86_64":
60+
if proc == "x86_64" or proc == "AMD64":
6161
return PROC.X86_64
6262
elif "arm" in proc:
6363
return PROC.ARM

0 commit comments

Comments
 (0)