mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-10 10:50:09 +00:00
Fix detection script on macos
This fixes the script on macos
This commit is contained in:
@@ -31,6 +31,8 @@ def check_gpu():
|
||||
return "NVIDIA"
|
||||
else:
|
||||
return "Unknown"
|
||||
else:
|
||||
return "Unknown"
|
||||
else:
|
||||
# If the `lspci` command is available, use it to get the GPU vendor and model information
|
||||
output = os.popen("lspci | grep -i vga").read()
|
||||
|
Reference in New Issue
Block a user