ONEROCKS commited on
Commit
23b1060
·
verified ·
1 Parent(s): 75dd851

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -147,10 +147,7 @@ def create_chatbot():
147
  )
148
 
149
  with gr.Row():
150
- with gr.Column(scale=1, min_width=5):
151
- audio_input = gr.Audio(sources=["microphone"], type="filepath", visible=False)
152
- audio_btn = gr.Button("🎤")
153
-
154
  with gr.Column(scale=1, min_width=250):
155
  msg = gr.Textbox(
156
  show_label=False,
@@ -160,7 +157,9 @@ def create_chatbot():
160
  with gr.Column(scale=1, min_width=5):
161
  send_btn = gr.Button("👾")
162
 
163
-
 
 
164
 
165
 
166
  def respond(message, history, role, audio_file):
 
147
  )
148
 
149
  with gr.Row():
150
+
 
 
 
151
  with gr.Column(scale=1, min_width=250):
152
  msg = gr.Textbox(
153
  show_label=False,
 
157
  with gr.Column(scale=1, min_width=5):
158
  send_btn = gr.Button("👾")
159
 
160
+ with gr.Column(scale=0, min_width=500):
161
+ audio_input = gr.Audio(sources=["microphone"], type="filepath", visible=False)
162
+ audio_btn = gr.Button("🎤")
163
 
164
 
165
  def respond(message, history, role, audio_file):