projekt-rising-ai commited on
Commit
f0913b5
·
1 Parent(s): e9c1a05

Added talking head functionality

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -410,7 +410,7 @@ class ChatWrapper:
410
  history.append((inp, text_to_display))
411
 
412
  html_video, temp_file, html_audio, temp_aud_file = None, None, None, None
413
- """
414
  if speak_text:
415
  if talking_head:
416
  if len(output) <= MAX_TALKING_HEAD_TEXT_LENGTH:
@@ -429,7 +429,6 @@ class ChatWrapper:
429
  # html_audio, temp_aud_file = do_html_audio_speak(output, translate_to)
430
  # html_video = create_html_video(temp_file, "128")
431
  pass
432
- """
433
 
434
  except Exception as e:
435
  raise e
 
410
  history.append((inp, text_to_display))
411
 
412
  html_video, temp_file, html_audio, temp_aud_file = None, None, None, None
413
+
414
  if speak_text:
415
  if talking_head:
416
  if len(output) <= MAX_TALKING_HEAD_TEXT_LENGTH:
 
429
  # html_audio, temp_aud_file = do_html_audio_speak(output, translate_to)
430
  # html_video = create_html_video(temp_file, "128")
431
  pass
 
432
 
433
  except Exception as e:
434
  raise e