Update app.py
Browse files
app.py
CHANGED
|
@@ -75,8 +75,8 @@ def background(prompt):
|
|
| 75 |
with app.app_context():
|
| 76 |
temp_response = generate_and_export_animation(prompt)
|
| 77 |
print('temp_response',temp_response)
|
| 78 |
-
json_content = temp_response.get_json()
|
| 79 |
-
app.config['temp_response'] =
|
| 80 |
|
| 81 |
|
| 82 |
@app.route('/run', methods=['POST'])
|
|
|
|
| 75 |
with app.app_context():
|
| 76 |
temp_response = generate_and_export_animation(prompt)
|
| 77 |
print('temp_response',temp_response)
|
| 78 |
+
# json_content = temp_response.get_json()
|
| 79 |
+
app.config['temp_response'] = temp_response
|
| 80 |
|
| 81 |
|
| 82 |
@app.route('/run', methods=['POST'])
|