idkash1 commited on
Commit
2201e16
·
verified ·
1 Parent(s): 482e506

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def check_text():
72
  thread.start()
73
 
74
  # Return taskId immediately
75
- return jsonify({'taskId': received_token}), 202
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():