diff --git a/infrastructure/server/fabric_api_server.py b/infrastructure/server/fabric_api_server.py index 1503dd9..9bf34ac 100644 --- a/infrastructure/server/fabric_api_server.py +++ b/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 diff --git a/infrastructure/server/requirements.txt b/infrastructure/server/requirements.txt index 8485a3c..94c6170 100644 --- a/infrastructure/server/requirements.txt +++ b/infrastructure/server/requirements.txt @@ -1,2 +1,3 @@ openai requests +flask