Sabbah13 commited on
Commit
92ce7a1
1 Parent(s): 2fdbea5

Update openai_requests.py

Browse files
Files changed (1) hide show
  1. openai_requests.py +1 -1
openai_requests.py CHANGED
@@ -6,7 +6,7 @@ def get_completion_from_openai(prompt, max_tokens):
6
 
7
  headers = {
8
  "Content-Type": "application/json",
9
- "Authorization": "Bearer " + st.secrets["OPNEAI_TOKEN"],
10
  }
11
 
12
  response = requests.post(baseUrl,
 
6
 
7
  headers = {
8
  "Content-Type": "application/json",
9
+ "Authorization": "Bearer " + st.secrets["OPENAI_TOKEN"],
10
  }
11
 
12
  response = requests.post(baseUrl,