Spaces:
Sleeping
Sleeping
Alfie Grace
commited on
Commit
·
4ef1b54
1
Parent(s):
8d0ae3b
Commented out talking head and babel fish mode checkboxes
Browse files
app.py
CHANGED
@@ -639,14 +639,14 @@ with gr.Blocks(css=".gradio-container {background-color: black}") as block:
|
|
639 |
# speak_text_cb.change(update_foo, inputs=[speak_text_cb, speak_text_state],
|
640 |
# outputs=[speak_text_state])
|
641 |
|
642 |
-
talking_head_cb = gr.Checkbox(label="Show talking head", value=True)
|
643 |
-
talking_head_cb.change(update_talking_head, inputs=[talking_head_cb, talking_head_state],
|
644 |
-
|
645 |
-
|
646 |
-
monologue_cb = gr.Checkbox(label="Babel fish mode (translate/restate what you enter, no conversational agent)",
|
647 |
-
|
648 |
-
monologue_cb.change(update_foo, inputs=[monologue_cb, monologue_state],
|
649 |
-
|
650 |
|
651 |
reset_btn = gr.Button(value="Reset chat", variant="secondary").style(full_width=False)
|
652 |
reset_btn.click(reset_memory, inputs=[history_state, memory_state], outputs=[chatbot, history_state, memory_state])
|
|
|
639 |
# speak_text_cb.change(update_foo, inputs=[speak_text_cb, speak_text_state],
|
640 |
# outputs=[speak_text_state])
|
641 |
|
642 |
+
# talking_head_cb = gr.Checkbox(label="Show talking head", value=True)
|
643 |
+
# talking_head_cb.change(update_talking_head, inputs=[talking_head_cb, talking_head_state],
|
644 |
+
# outputs=[talking_head_state, video_html])
|
645 |
+
|
646 |
+
# monologue_cb = gr.Checkbox(label="Babel fish mode (translate/restate what you enter, no conversational agent)",
|
647 |
+
# value=False)
|
648 |
+
# monologue_cb.change(update_foo, inputs=[monologue_cb, monologue_state],
|
649 |
+
# outputs=[monologue_state])
|
650 |
|
651 |
reset_btn = gr.Button(value="Reset chat", variant="secondary").style(full_width=False)
|
652 |
reset_btn.click(reset_memory, inputs=[history_state, memory_state], outputs=[chatbot, history_state, memory_state])
|