Browse Source

fixes apikey bug in client code

pull/14/head
Scott Behrens 1 year ago
parent
commit
d85691e257
  1. 2
      infrastructure/server/fabric_api_server.py

2
infrastructure/server/fabric_api_server.py

@ -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

Loading…
Cancel
Save