Spanicin commited on
Commit
9e25a21
·
verified ·
1 Parent(s): 6dd4ace

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -74,8 +74,10 @@ def generate_and_export_animation(prompt):
74
  def background(prompt):
75
  with app.app_context():
76
  temp_response = generate_and_export_animation(prompt)
 
77
  json_content = temp_response.get_json()
78
  app.config['temp_response'] = json_content
 
79
 
80
  @app.route('/run', methods=['POST'])
81
  def handle_animation_request():
 
74
  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'] = json_content
80
+
81
 
82
  @app.route('/run', methods=['POST'])
83
  def handle_animation_request():