SnJForever commited on
Commit
b224880
1 Parent(s): 3b6c572
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -636,15 +636,15 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
636
 
637
  with gr.Row():
638
  with gr.Column(scale=1, min_width=TALKING_HEAD_WIDTH, visible=True):
639
- speak_text_cb = gr.Checkbox(label="Enable speech", value=False)
640
- speak_text_cb.change(update_foo, inputs=[speak_text_cb, speak_text_state],
641
- outputs=[speak_text_state])
642
 
643
- my_file = gr.File(label="Upload a file", type="file", visible=False)
644
- tmp_file = gr.File(LOOPING_TALKING_HEAD, visible=False)
645
  # tmp_file_url = "/file=" + tmp_file.value['name']
646
- htm_video = create_html_video(LOOPING_TALKING_HEAD, TALKING_HEAD_WIDTH)
647
- video_html = gr.HTML(htm_video)
648
 
649
  # my_aud_file = gr.File(label="Audio file", type="file", visible=True)
650
  tmp_aud_file = gr.File("audios/tempfile.mp3", visible=False)
 
636
 
637
  with gr.Row():
638
  with gr.Column(scale=1, min_width=TALKING_HEAD_WIDTH, visible=True):
639
+ # speak_text_cb = gr.Checkbox(label="Enable speech", value=False)
640
+ # speak_text_cb.change(update_foo, inputs=[speak_text_cb, speak_text_state],
641
+ # outputs=[speak_text_state])
642
 
643
+ # my_file = gr.File(label="Upload a file", type="file", visible=False)
644
+ # tmp_file = gr.File(LOOPING_TALKING_HEAD, visible=False)
645
  # tmp_file_url = "/file=" + tmp_file.value['name']
646
+ # htm_video = create_html_video(LOOPING_TALKING_HEAD, TALKING_HEAD_WIDTH)
647
+ # video_html = gr.HTML(htm_video)
648
 
649
  # my_aud_file = gr.File(label="Audio file", type="file", visible=True)
650
  tmp_aud_file = gr.File("audios/tempfile.mp3", visible=False)