Spaces:
Runtime error
Runtime error
vaibhavsharda
commited on
Commit
•
6c60f9f
1
Parent(s):
97d351e
Update twc_openai_embeddings.py
Browse files- twc_openai_embeddings.py +1 -1
twc_openai_embeddings.py
CHANGED
@@ -20,7 +20,7 @@ class OpenAIModel:
|
|
20 |
|
21 |
def init_model(self,model_name = None):
|
22 |
#print("OpenAI: Init model",model_name)
|
23 |
-
openai.api_key = os.getenv("
|
24 |
if (openai.api_key == None):
|
25 |
openai.api_key = ""
|
26 |
print("API key not set")
|
|
|
20 |
|
21 |
def init_model(self,model_name = None):
|
22 |
#print("OpenAI: Init model",model_name)
|
23 |
+
openai.api_key = os.getenv("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")
|
24 |
if (openai.api_key == None):
|
25 |
openai.api_key = ""
|
26 |
print("API key not set")
|