Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def respond(message, history):
|
|
45 |
|
46 |
try:
|
47 |
response = requests.post(
|
48 |
-
local_endpoint,
|
49 |
response_data = response.json()
|
50 |
#print(response_data)
|
51 |
#response_data=response_data["predictions"][0]
|
|
|
45 |
|
46 |
try:
|
47 |
response = requests.post(
|
48 |
+
local_endpoint, json=data_json, headers=headers)
|
49 |
response_data = response.json()
|
50 |
#print(response_data)
|
51 |
#response_data=response_data["predictions"][0]
|