Spaces:
Running
Running
Update predict.py
Browse files- 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 {
|
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
|