Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ def respond(message, history, system_message, max_tokens, top_p, temperature):
|
|
| 82 |
"conversation_history": messages,
|
| 83 |
"input": message
|
| 84 |
}
|
| 85 |
-
|
| 86 |
response = requests.post(API_URL, headers=headers, data=json.dumps(data))
|
| 87 |
|
| 88 |
if response.status_code == 200:
|
|
|
|
| 82 |
"conversation_history": messages,
|
| 83 |
"input": message
|
| 84 |
}
|
| 85 |
+
print(headers)
|
| 86 |
response = requests.post(API_URL, headers=headers, data=json.dumps(data))
|
| 87 |
|
| 88 |
if response.status_code == 200:
|