Caerii commited on
Commit
cb3cf57
·
1 Parent(s): e687797

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ import openai
4
 
5
  # Access the API key from the environment variable
6
  openai.api_key = os.getenv('OPENAI_API_KEY')
 
7
 
8
  def openai_chatbot(message, history):
9
  # Convert history format for OpenAI API
 
4
 
5
  # Access the API key from the environment variable
6
  openai.api_key = os.getenv('OPENAI_API_KEY')
7
+ print(openai.api_key)
8
 
9
  def openai_chatbot(message, history):
10
  # Convert history format for OpenAI API