mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-17 18:13:01 +08:00
Merge pull request #2 from viva-jinyi/fix/system-os
Fix OS reporting in /system_stats API to use sys.platform
This commit is contained in:
commit
d4cb177414
@ -559,7 +559,7 @@ class PromptServer():
|
|||||||
|
|
||||||
system_stats = {
|
system_stats = {
|
||||||
"system": {
|
"system": {
|
||||||
"os": os.name,
|
"os": sys.platform,
|
||||||
"ram_total": ram_total,
|
"ram_total": ram_total,
|
||||||
"ram_free": ram_free,
|
"ram_free": ram_free,
|
||||||
"comfyui_version": __version__,
|
"comfyui_version": __version__,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user