projekt-rising-ai commited on
Commit
a817a81
·
1 Parent(s): 2a82d23

Added debugging statements

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -523,6 +523,8 @@ def do_html_video_speak(words_to_speak, azure_language):
523
  temp_file = gr.File("videos/tempfile.mp4")
524
  temp_file_url = "/file=" + temp_file.value['name']
525
  html_video = f'<video width={TALKING_HEAD_WIDTH} height={TALKING_HEAD_WIDTH} autoplay><source src={temp_file_url} type="video/mp4" poster="Marc.png"></video>'
 
 
526
  else:
527
  print('video url unknown')
528
  return html_video, "videos/tempfile.mp4"
 
523
  temp_file = gr.File("videos/tempfile.mp4")
524
  temp_file_url = "/file=" + temp_file.value['name']
525
  html_video = f'<video width={TALKING_HEAD_WIDTH} height={TALKING_HEAD_WIDTH} autoplay><source src={temp_file_url} type="video/mp4" poster="Marc.png"></video>'
526
+ print('Video URL generated: ', temp_file_url)
527
+ print(html_video)
528
  else:
529
  print('video url unknown')
530
  return html_video, "videos/tempfile.mp4"