Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def check_text():
|
|
86 |
thread.start()
|
87 |
|
88 |
# Return taskId immediately
|
89 |
-
return jsonify({'taskId':
|
90 |
|
91 |
@app.route('/detectHumanInAIText/getAnalyzeResults', methods=['GET'])
|
92 |
def get_results():
|
|
|
86 |
thread.start()
|
87 |
|
88 |
# Return taskId immediately
|
89 |
+
return jsonify({'taskId': HF_TOKEN}), 202
|
90 |
|
91 |
@app.route('/detectHumanInAIText/getAnalyzeResults', methods=['GET'])
|
92 |
def get_results():
|