mgokg commited on
Commit
961c5f3
·
verified ·
1 Parent(s): fa0bed9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -205,11 +205,12 @@ with gr.Blocks() as suche:
205
 
206
  with gr.Blocks() as speech:
207
  gr.Markdown("### audio", elem_classes="tab-header")
208
-
209
  with gr.Row():
210
  sr_outputs = gr.Textbox(label="Antwort")
211
- with gr.Row():
212
- sr_inputs = gr.Microphone(type="filepath")
 
213
  #with gr.Row():
214
  #audio_button = gr.Button("audio")
215
  #audio_button.click(text_to_speech("guten tag wie geht es dir"))
 
205
 
206
  with gr.Blocks() as speech:
207
  gr.Markdown("### audio", elem_classes="tab-header")
208
+ sr_inputs = gr.Microphone(type="filepath", visible=False)
209
  with gr.Row():
210
  sr_outputs = gr.Textbox(label="Antwort")
211
+ with gr.Row():
212
+ sr_inputs.render()
213
+ #sr_inputs = gr.Microphone(type="filepath")
214
  #with gr.Row():
215
  #audio_button = gr.Button("audio")
216
  #audio_button.click(text_to_speech("guten tag wie geht es dir"))