almncarlo commited on
Commit
ae25499
·
verified ·
1 Parent(s): 6279449

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -263,10 +263,6 @@ with gr.Blocks(
263
  # label="Punctuation & Capitalization in transcript?",
264
  # )
265
 
266
- src_lang = "English"
267
- tgt_lang = "English"
268
- pnc = True
269
-
270
  with gr.Column():
271
 
272
  gr.HTML("<p>Run the model.</p>")
@@ -283,7 +279,7 @@ with gr.Blocks(
283
 
284
  go_button.click(
285
  fn=transcribe,
286
- inputs = [audio_file, src_lang, tgt_lang, pnc],
287
  outputs = [model_output_text_box]
288
  )
289
 
 
263
  # label="Punctuation & Capitalization in transcript?",
264
  # )
265
 
 
 
 
 
266
  with gr.Column():
267
 
268
  gr.HTML("<p>Run the model.</p>")
 
279
 
280
  go_button.click(
281
  fn=transcribe,
282
+ inputs = [audio_file, "English", "English", True],
283
  outputs = [model_output_text_box]
284
  )
285