mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Fix detection script on macos
This fixes the script on macos
This commit is contained in:
parent
a407c9f014
commit
54fa77facc
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user