fixes apikey bug in client code

This commit is contained in:
Scott Behrens 2024-01-31 09:07:13 -08:00
parent 9951bd792d
commit d85691e257

View File

@ -31,7 +31,7 @@ with open("openai.key", "r") as key_file:
openai.api_key = key_file.read().strip()
## Define our own client
client = openai.OpenAI(api_key = api_key)
client = openai.OpenAI(api_key = openai.api_key)
# Read API tokens from the apikeys.json file