Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def check_text():
|
|
| 72 |
thread.start()
|
| 73 |
|
| 74 |
# Return taskId immediately
|
| 75 |
-
return jsonify({'taskId':
|
| 76 |
|
| 77 |
@app.route('/detectHumanInAIText/getAnalyzeResults', methods=['GET'])
|
| 78 |
def get_results():
|
|
|
|
| 72 |
thread.start()
|
| 73 |
|
| 74 |
# Return taskId immediately
|
| 75 |
+
return jsonify({'taskId': task_id}), 202
|
| 76 |
|
| 77 |
@app.route('/detectHumanInAIText/getAnalyzeResults', methods=['GET'])
|
| 78 |
def get_results():
|