vaibhavsharda commited on
Commit
d198504
1 Parent(s): 6c60f9f

Update twc_openai_embeddings.py

Browse files
Files changed (1) hide show
  1. 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("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")
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")