on1onmangoes commited on
Commit
5b08de5
·
verified ·
1 Parent(s): f8bf761

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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="90px"):
738
  set_key_button = gr.Button("Ask ZZK", variant="primary")
739
  with gr.Column(scale=1):
740
- audio = WebRTC(modality="audio", mode="send-receive",
741
- label="Audio Stream",
742
- rtc_configuration=rtc_configuration)
 
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([])