Spaces:
Running
Running
remove await
Browse files
main.py
CHANGED
@@ -20,5 +20,5 @@ def returnText(text):
|
|
20 |
@app.route("/check", methods=["POST"])
|
21 |
async def check():
|
22 |
comment = request.json['comment']
|
23 |
-
result =
|
24 |
return result
|
|
|
20 |
@app.route("/check", methods=["POST"])
|
21 |
async def check():
|
22 |
comment = request.json['comment']
|
23 |
+
result = judge(comment)
|
24 |
return result
|