derful commited on
Commit
78b6d19
·
1 Parent(s): a486262

Update predict.py

Browse files
Files changed (1) hide show
  1. predict.py +1 -1
predict.py CHANGED
@@ -193,7 +193,7 @@ def generate_payload(inputs, top_p, temperature, history, system_prompt, stream)
193
  """
194
  headers = {
195
  "Content-Type": "application/json",
196
- "Authorization": f"Bearer {API_KEY}"
197
  }
198
 
199
  conversation_cnt = len(history) // 2
 
193
  """
194
  headers = {
195
  "Content-Type": "application/json",
196
+ "Authorization": f"Bearer {api}"
197
  }
198
 
199
  conversation_cnt = len(history) // 2