Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
|
|
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"))
|