Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def respond(message, history):
|
|
44 |
local_endpoint, json=q, headers=headers, timeout=100)
|
45 |
response_data = response.json()
|
46 |
#print(response_data)
|
47 |
-
response_data=response_data["predictions"][0]
|
48 |
#print(response_data)
|
49 |
|
50 |
except Exception as error:
|
|
|
44 |
local_endpoint, json=q, headers=headers, timeout=100)
|
45 |
response_data = response.json()
|
46 |
#print(response_data)
|
47 |
+
#response_data=response_data["predictions"][0]
|
48 |
#print(response_data)
|
49 |
|
50 |
except Exception as error:
|