HMPhuoc commited on
Commit
2732528
1 Parent(s): 333cfbf

remove await

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 = await judge(comment)
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