mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
Fixed API server keyfile definition.
This commit is contained in:
parent
e6164516f7
commit
b30c630f3c
@ -28,7 +28,7 @@ app = Flask(__name__)
|
||||
|
||||
# Load your OpenAI API key from a file
|
||||
with open("openai.key", "r") as key_file:
|
||||
api_key = key_file.read().strip()
|
||||
openai.api_key = key_file.read().strip()
|
||||
|
||||
## Define our own client
|
||||
client = openai.OpenAI(api_key = api_key)
|
||||
|
@ -22,7 +22,7 @@ Their purpose in life:
|
||||
Their favorite phrases:
|
||||
How they look and like to dress:
|
||||
Their appearance:
|
||||
$$Anything else you can randomly add to make this a more realistic character.$$
|
||||
(add other attributes)
|
||||
|
||||
# OUTPUT INSTRUCTIONS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user