瀏覽代碼

Fixing typo in self

Beto 1 年之前
父節點
當前提交
c0886a0a89
共有 1 個文件被更改,包括 1 次插入1 次删除
  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