Spanicin commited on
Commit
8d06dcf
·
verified ·
1 Parent(s): 8c41ef2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -382,7 +382,7 @@ def generate_video():
382
  # "process_id": generation_thread.ident}
383
 
384
  try:
385
- base64_video, temp_file_path, duration = process_chunk(driven_audio_path, preprocessed_data, args)
386
  final_video_path = app.config['final_video_path']
387
  print('final_video_path',final_video_path)
388
 
@@ -403,7 +403,6 @@ def generate_video():
403
  return jsonify({
404
  'base64_video': base64_video,
405
  'text_prompt': text_prompt,
406
- 'duration': duration,
407
  'time_taken':time_taken,
408
  'status': 'completed'
409
  })
 
382
  # "process_id": generation_thread.ident}
383
 
384
  try:
385
+ base64_video, temp_file_path = process_chunk(driven_audio_path, preprocessed_data, args)
386
  final_video_path = app.config['final_video_path']
387
  print('final_video_path',final_video_path)
388
 
 
403
  return jsonify({
404
  'base64_video': base64_video,
405
  'text_prompt': text_prompt,
 
406
  'time_taken':time_taken,
407
  'status': 'completed'
408
  })