bachvudinh commited on
Commit
9350c3d
1 Parent(s): df49897

remove transcribe feauture

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -169,7 +169,7 @@ with gr.Blocks() as iface:
169
 
170
  convert_button = gr.Button("Convert to Audio", visible=False)
171
  submit_button = gr.Button("Send")
172
- transcrip_button = gr.Button("Make Model Transcribe the audio")
173
 
174
  text_output = gr.Textbox(label="Generated Text")
175
 
@@ -198,11 +198,11 @@ with gr.Blocks() as iface:
198
  inputs=[audio_input],
199
  outputs=[text_output]
200
  )
201
- transcrip_button.click(
202
- process_transcribe_input,
203
- inputs=[audio_input],
204
- outputs=[text_output]
205
- )
206
 
207
  gr.Examples(examples, inputs=[audio_input])
208
  iface.queue()
 
169
 
170
  convert_button = gr.Button("Convert to Audio", visible=False)
171
  submit_button = gr.Button("Send")
172
+ # transcrip_button = gr.Button("Make Model Transcribe the audio")
173
 
174
  text_output = gr.Textbox(label="Generated Text")
175
 
 
198
  inputs=[audio_input],
199
  outputs=[text_output]
200
  )
201
+ # transcrip_button.click(
202
+ # process_transcribe_input,
203
+ # inputs=[audio_input],
204
+ # outputs=[text_output]
205
+ # )
206
 
207
  gr.Examples(examples, inputs=[audio_input])
208
  iface.queue()