spg commited on
Commit
372ef61
1 Parent(s): da38c88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import requests
6
 
7
  API_URL = "https://api.openai.com/v1/chat/completions" #os.getenv("API_URL") + "/generate_stream"
8
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
9
-
10
  def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
11
  headers = {
12
  "Content-Type": "application/json",
 
6
 
7
  API_URL = "https://api.openai.com/v1/chat/completions" #os.getenv("API_URL") + "/generate_stream"
8
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
9
+ print(f"the key is ^^ {OPENAI_API_KEY}")
10
  def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
11
  headers = {
12
  "Content-Type": "application/json",