Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -734,12 +734,13 @@ with gr.Blocks(css=css_code) as demo:
|
|
734 |
chatbot = gr.Chatbot(label="Conversation", type="messages", visible=False, render=False)
|
735 |
with gr.Row(variant="compact", height="30px"):
|
736 |
with gr.Column(scale=1):
|
737 |
-
with gr.Row(variant="compact", height="
|
738 |
set_key_button = gr.Button("Ask ZZK", variant="primary")
|
739 |
with gr.Column(scale=1):
|
740 |
-
|
741 |
-
|
742 |
-
|
|
|
743 |
|
744 |
client_state = gr.State(None)
|
745 |
conversation_llm_format = gr.State([])
|
|
|
734 |
chatbot = gr.Chatbot(label="Conversation", type="messages", visible=False, render=False)
|
735 |
with gr.Row(variant="compact", height="30px"):
|
736 |
with gr.Column(scale=1):
|
737 |
+
with gr.Row(variant="compact", height="30px"):
|
738 |
set_key_button = gr.Button("Ask ZZK", variant="primary")
|
739 |
with gr.Column(scale=1):
|
740 |
+
with gr.Row(variant="compact", height="30px"):
|
741 |
+
audio = WebRTC(modality="audio", mode="send-receive",
|
742 |
+
label="Audio Stream",
|
743 |
+
rtc_configuration=rtc_configuration)
|
744 |
|
745 |
client_state = gr.State(None)
|
746 |
conversation_llm_format = gr.State([])
|