Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def check_animation_status():
|
|
102 |
if generation_thread and generation_thread.is_alive():
|
103 |
return jsonify({"status": "in_progress"}), 200
|
104 |
elif app.config.get('temp_response'):
|
105 |
-
app.config['temp_response']['status'] = 'completed'
|
106 |
final_response = app.config['temp_response']
|
107 |
return jsonify(final_response)
|
108 |
|
|
|
102 |
if generation_thread and generation_thread.is_alive():
|
103 |
return jsonify({"status": "in_progress"}), 200
|
104 |
elif app.config.get('temp_response'):
|
105 |
+
# app.config['temp_response']['status'] = 'completed'
|
106 |
final_response = app.config['temp_response']
|
107 |
return jsonify(final_response)
|
108 |
|