Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def transcribe_audio(audio):
|
|
59 |
try:
|
60 |
text = recognizer.recognize_google(audio_data, language="de-DE")
|
61 |
result = update(text)
|
62 |
-
result=gr.Markdown(result)
|
63 |
return result
|
64 |
result = client.predict(
|
65 |
query=text,
|
@@ -204,7 +204,7 @@ with gr.Blocks() as speech:
|
|
204 |
gr.Markdown("### audio", elem_classes="tab-header")
|
205 |
|
206 |
with gr.Row():
|
207 |
-
sr_outputs = gr.Textbox(label="Antwort")
|
208 |
with gr.Row():
|
209 |
sr_inputs = gr.Microphone(type="filepath")
|
210 |
#with gr.Row():
|
|
|
59 |
try:
|
60 |
text = recognizer.recognize_google(audio_data, language="de-DE")
|
61 |
result = update(text)
|
62 |
+
#result=gr.Markdown(result)
|
63 |
return result
|
64 |
result = client.predict(
|
65 |
query=text,
|
|
|
204 |
gr.Markdown("### audio", elem_classes="tab-header")
|
205 |
|
206 |
with gr.Row():
|
207 |
+
sr_outputs = gr.Markdown(gr.Textbox(label="Antwort"))
|
208 |
with gr.Row():
|
209 |
sr_inputs = gr.Microphone(type="filepath")
|
210 |
#with gr.Row():
|