Procházet zdrojové kódy

Fixing typo in self

Beto před 1 rokem
rodič
revize
c0886a0a89
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/llama_recipes/inference/safety_utils.py

+ 1 - 1
src/llama_recipes/inference/safety_utils.py

@@ -91,7 +91,7 @@ class SalesforceSafetyChecker(object):
 
 # Class for performing safety checks using Azure Content Safety service
 class AzureSaftyChecker(object):
-    def __init__(sel):
+    def __init__(self):
         try:
             from azure.ai.contentsafety import ContentSafetyClient
             from azure.core.credentials import AzureKeyCredential