瀏覽代碼

Fix error message on missing replicate api token (#332)

Deshraj Yadav 2 年之前
父節點
當前提交
2d4c51aa16
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      embedchain/apps/Llama2App.py

+ 1 - 1
embedchain/apps/Llama2App.py

@@ -20,7 +20,7 @@ class Llama2App(EmbedChain):
         :param config: AppConfig instance to load as configuration. Optional.
         :param config: AppConfig instance to load as configuration. Optional.
         """
         """
         if "REPLICATE_API_TOKEN" not in os.environ:
         if "REPLICATE_API_TOKEN" not in os.environ:
-            raise ValueError("Please set the REPLICATE_API_TOKEN environment variable to your OpenAI API key.")
+            raise ValueError("Please set the REPLICATE_API_TOKEN environment variable.")
 
 
         if config is None:
         if config is None:
             config = AppConfig()
             config = AppConfig()