Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ class BasicAgent:
|
|
| 49 |
"Content-Type": "application/json",
|
| 50 |
"Authorization": "Bearer fw_3ZSrkw3Qv5eeA1yx65x1eD5H"
|
| 51 |
}
|
| 52 |
-
requests.
|
| 53 |
|
| 54 |
|
| 55 |
response_data = response.json()
|
|
|
|
| 49 |
"Content-Type": "application/json",
|
| 50 |
"Authorization": "Bearer fw_3ZSrkw3Qv5eeA1yx65x1eD5H"
|
| 51 |
}
|
| 52 |
+
response = requests.post(url, headers=headers, data=json.dumps(payload))
|
| 53 |
|
| 54 |
|
| 55 |
response_data = response.json()
|