Show total/free ram in about page (#924)

This commit is contained in:
Chenlei Hu
2024-09-22 17:40:40 +09:00
committed by GitHub
parent 39eeda8430
commit 9aa976fdf0
4 changed files with 29 additions and 8 deletions

View File

@@ -410,7 +410,9 @@ export const zSystemStats = z.object({
embedded_python: z.boolean(),
comfyui_version: z.string(),
pytorch_version: z.string(),
argv: z.array(z.string())
argv: z.array(z.string()),
ram_total: z.number(),
ram_free: z.number()
}),
devices: z.array(zDeviceStats)
})