mgokg commited on
Commit
8d714b8
·
verified ·
1 Parent(s): 94bd6e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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():