Chan55 commited on
Commit
a51ab2c
Β·
1 Parent(s): eab4f6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -150,11 +150,11 @@ def process_text(conversation, text):
150
  with gr.Blocks(title="hi") as app2:
151
  chatbot = gr.Chatbot([(None, "Hello! It's time for your annual financial review. To ensure we have the most up-to-date information, I'll ask you a few questions. Please answer them as accurately as possible.")])
152
 
153
- msg = gr.Textbox()
154
  msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])
155
 
156
  with gr.Row():
157
- audio = gr.Audio(source="microphone", type="filepath")
158
 
159
  fn = run_audio_prompt,
160
  inputs = [audio, chatbot],
 
150
  with gr.Blocks(title="hi") as app2:
151
  chatbot = gr.Chatbot([(None, "Hello! It's time for your annual financial review. To ensure we have the most up-to-date information, I'll ask you a few questions. Please answer them as accurately as possible.")])
152
 
153
+ msg = gr.Textbox(label="Write")
154
  msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])
155
 
156
  with gr.Row():
157
+ audio = gr.Audio(source="microphone", type="filepath", label="Speak")
158
 
159
  fn = run_audio_prompt,
160
  inputs = [audio, chatbot],