Arafath10 commited on
Commit
81b95ef
·
1 Parent(s): 3f64b59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -31,11 +31,12 @@ with gr.Blocks() as demo:
31
  with gr.Row():
32
  display_chat_names = gr.Textbox(label="Chat histories",placeholder="Chat names not found", lines=16)
33
  dropdown = gr.Dropdown(label="just Select to load chat",choices=["no chat found"])
34
- chatbot = gr.Chatbot([[None,"Hi there, what brings you here today?"]])
35
- msg = gr.Textbox()
36
- audio_input = gr.Microphone(label="Press start recording to speak", type="filepath",waveform_options={"waveform_color":"red"})
37
- clear = gr.ClearButton([msg, chatbot])
38
- audio_input2 = gr.Audio(visible=False)
 
39
 
40
  def respond(message, chat_history):
41
  # Basic echo response
 
31
  with gr.Row():
32
  display_chat_names = gr.Textbox(label="Chat histories",placeholder="Chat names not found", lines=16)
33
  dropdown = gr.Dropdown(label="just Select to load chat",choices=["no chat found"])
34
+ with gr.Row():
35
+ chatbot = gr.Chatbot([[None,"Hi there, what brings you here today?"]])
36
+ msg = gr.Textbox()
37
+ audio_input = gr.Microphone(label="Press start recording to speak", type="filepath",waveform_options={"waveform_color":"red"})
38
+ clear = gr.ClearButton([msg, chatbot])
39
+ audio_input2 = gr.Audio(visible=False)
40
 
41
  def respond(message, chat_history):
42
  # Basic echo response