Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -43,7 +43,7 @@ def classify_msg(message):
|
|
| 43 |
response.text[response.text.find("{") : response.text.rfind("}") + 1]
|
| 44 |
)
|
| 45 |
|
| 46 |
-
return
|
| 47 |
|
| 48 |
|
| 49 |
@app.get("/")
|
|
|
|
| 43 |
response.text[response.text.find("{") : response.text.rfind("}") + 1]
|
| 44 |
)
|
| 45 |
|
| 46 |
+
return json_response['category']
|
| 47 |
|
| 48 |
|
| 49 |
@app.get("/")
|