diff options
author | DaniAndTheWeb <57776841+DaniAndTheWeb@users.noreply.github.com> | 2023-01-14 11:10:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-14 11:10:45 +0000 |
commit | 54fa77facc1849fbbfe61c1ca6d99b117d609d67 (patch) | |
tree | a64bcee9c01c8a75a45c612a41b9490d782a232d /detection.py | |
parent | a407c9f0147c779865c940cbf62c7019dbc1f7b4 (diff) | |
download | stable-diffusion-webui-gfx803-54fa77facc1849fbbfe61c1ca6d99b117d609d67.tar.gz stable-diffusion-webui-gfx803-54fa77facc1849fbbfe61c1ca6d99b117d609d67.tar.bz2 stable-diffusion-webui-gfx803-54fa77facc1849fbbfe61c1ca6d99b117d609d67.zip |
Fix detection script on macos
This fixes the script on macos
Diffstat (limited to 'detection.py')
-rw-r--r-- | detection.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/detection.py b/detection.py index eb4db0df..442c4be5 100644 --- a/detection.py +++ b/detection.py @@ -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() |