marquesafonso commited on
Commit
ae52f76
·
1 Parent(s): ba81a65

retry with Textbox

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ def main():
19
  text_output = gr.Textbox(label="SRT Text transcription")
20
  srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
21
  text_clean_output = gr.Textbox(label="Text transcription")
22
- json_output = gr.JSON(label="JSON Transcription")
23
  gr.Interface(
24
  fn=transcriber,
25
  inputs=[file, file_type, max_words_per_line, task, model_version],
@@ -38,7 +38,7 @@ def main():
38
  text_output = gr.Textbox(label="SRT Text transcription")
39
  srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
40
  text_clean_output = gr.Textbox(label="Text transcription")
41
- json_output = gr.JSON(label="JSON Transcription")
42
  gr.Interface(
43
  fn=transcriber,
44
  inputs=[file, file_type, max_words_per_line, task, model_version],
 
19
  text_output = gr.Textbox(label="SRT Text transcription")
20
  srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
21
  text_clean_output = gr.Textbox(label="Text transcription")
22
+ json_output = gr.Textbox(label="JSON Transcription")
23
  gr.Interface(
24
  fn=transcriber,
25
  inputs=[file, file_type, max_words_per_line, task, model_version],
 
38
  text_output = gr.Textbox(label="SRT Text transcription")
39
  srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
40
  text_clean_output = gr.Textbox(label="Text transcription")
41
+ json_output = gr.Textbox(label="JSON Transcription")
42
  gr.Interface(
43
  fn=transcriber,
44
  inputs=[file, file_type, max_words_per_line, task, model_version],