Skip to content

Commit

Permalink
edit auto-llama api key (run-llama#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryjliu authored Apr 17, 2023
1 parent c0ab6a7 commit 4355c8c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions auto_llama/auto_llama/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
def main():
logger = logging.getLogger()
logger.level = logging.WARN
# Enter your OpenAI API key here:

import os
os.environ["OPENAI_API_KEY"] = 'YOUR OPENAI API KEY'
# # Enter your OpenAI API key here:
# import os
# os.environ["OPENAI_API_KEY"] = 'YOUR OPENAI API KEY'

openaichat = ChatOpenAI(
model_name="gpt-4",
Expand Down

0 comments on commit 4355c8c

Please sign in to comment.