Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,6 @@ def query(payload):
|
|
| 12 |
"inputs": "Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!",
|
| 13 |
"parameters": {"candidate_labels": ["refund", "legal", "faq"]},
|
| 14 |
}
|
| 15 |
-
)
|
| 16 |
data = json.dumps(new_paylod)
|
| 17 |
|
| 18 |
response = requests.request("POST", API_URL, headers=headers, data=data)
|
|
|
|
| 12 |
"inputs": "Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!",
|
| 13 |
"parameters": {"candidate_labels": ["refund", "legal", "faq"]},
|
| 14 |
}
|
|
|
|
| 15 |
data = json.dumps(new_paylod)
|
| 16 |
|
| 17 |
response = requests.request("POST", API_URL, headers=headers, data=data)
|