Merge pull request #1463 from CatBraaain/fix/typo-in-pytorch-error-message

fix: typo in error message for missing pytorch
This commit is contained in:
Sefik Ilkin Serengil 2025-04-10 13:52:55 +01:00 committed by GitHub
commit 28f9332493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ class Fasnet:
import torch
except Exception as err:
raise ValueError(
"You must install torch with `pip install pytorch` command to use face anti spoofing module"
"You must install torch with `pip install torch` command to use face anti spoofing module"
) from err
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")