Teapack1 commited on
Commit
9444ff2
·
1 Parent(s): 9f3c9bf
Files changed (1) hide show
  1. fast_app.py +1 -1
fast_app.py CHANGED
@@ -26,7 +26,7 @@ from ingest import Ingest
26
  # if huggingface_token is None:
27
  # raise ValueError("Hugging Face token is not set in environment variables.")
28
 
29
- openai_api_key = "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"
30
  if openai_api_key is None:
31
  raise ValueError("OAI token is not set in environment variables.")
32
 
 
26
  # if huggingface_token is None:
27
  # raise ValueError("Hugging Face token is not set in environment variables.")
28
 
29
+ openai_api_key = os.getenv("OPENAI_API")
30
  if openai_api_key is None:
31
  raise ValueError("OAI token is not set in environment variables.")
32