Merge pull request #14 from sbehrens/bugfix/install

Fixes file pointer and adds a requirements dependency.
This commit is contained in:
Daniel Miessler 2024-01-31 20:58:49 -08:00 committed by GitHub
commit d62bfa2d03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

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

View File

@ -1,2 +1,3 @@
openai
requests
flask