Kaynağa Gözat

Fixing typo in self

Beto 1 yıl önce
ebeveyn
işleme
c0886a0a89
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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