Pavanb commited on
Commit
fe2b33e
·
verified ·
1 Parent(s): b3c99ae

gr.audio component modification.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks() as demo:
65
  text_button.click(fn=extract_from_text, inputs=text_input, outputs=text_output)
66
 
67
  with gr.Tab("Audio Input (.wav)"):
68
- audio_input = gr.Audio(source="upload", type="file", label="Upload a .wav Audio File")
69
  audio_output = gr.Textbox(label="Extracted Address")
70
  audio_button = gr.Button("Extract Address")
71
 
 
65
  text_button.click(fn=extract_from_text, inputs=text_input, outputs=text_output)
66
 
67
  with gr.Tab("Audio Input (.wav)"):
68
+ audio_input = gr.Audio(type="file", label="Upload a .wav Audio File")
69
  audio_output = gr.Textbox(label="Extracted Address")
70
  audio_button = gr.Button("Extract Address")
71