freddyaboulton HF staff commited on
Commit
7c6300e
1 Parent(s): 9b12ac3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -125,7 +125,8 @@ with gr.Blocks() as block:
125
  state = gr.State()
126
  with gr.Row():
127
  audio_in = gr.Audio(label="Speak you question", sources="microphone", type="filepath")
128
-
 
129
  audio_in.stop_recording(generate_response, audio_in, [state, answer, audio_out]).then(fn=read_response, inputs=state, outputs=[answer, audio_out])
130
 
131
  block.launch()
 
125
  state = gr.State()
126
  with gr.Row():
127
  audio_in = gr.Audio(label="Speak you question", sources="microphone", type="filepath")
128
+ with gr.Row():
129
+ gr.HTML("""<h3 style='text-align: center;'> Examples: 'What is the meaning of life?', 'Should I get a dog?' </h3>""")
130
  audio_in.stop_recording(generate_response, audio_in, [state, answer, audio_out]).then(fn=read_response, inputs=state, outputs=[answer, audio_out])
131
 
132
  block.launch()