mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-02-12 06:55:08 -05:00
Merge pull request #14 from sbehrens/bugfix/install
Fixes file pointer and adds a requirements dependency.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
openai
|
||||
requests
|
||||
flask
|
||||
|
||||
Reference in New Issue
Block a user