camparchimedes commited on
Commit
a0fe987
·
verified ·
1 Parent(s): 0dc942e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -199,7 +199,7 @@ def save_to_pdf(text, summary):
199
 
200
  banner_html = """
201
  <div style="text-align: center;">
202
- <img src="https://huggingface.co/spaces/camparchimedes/text_app/raw/main/picture.jpg" alt="Banner" width="100%" height="auto">
203
  </div>
204
  """
205
 
@@ -229,7 +229,7 @@ with iface:
229
  transcribe_button = gr.Button("Transcribe")
230
 
231
  transcribe_button.click(
232
- fn=transcribe,
233
  inputs=[audio_input],
234
  outputs=[text_output, result_output]
235
  )
 
199
 
200
  banner_html = """
201
  <div style="text-align: center;">
202
+ <img src="https://huggingface.co/spaces/camparchimedes/text_app/raw/main/picture.png" alt="Banner" width="100%" height="auto">
203
  </div>
204
  """
205
 
 
229
  transcribe_button = gr.Button("Transcribe")
230
 
231
  transcribe_button.click(
232
+ fn=transcribe_audio,
233
  inputs=[audio_input],
234
  outputs=[text_output, result_output]
235
  )