Commit
·
887ef01
1
Parent(s):
810585d
fix typo in json label
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def main():
|
|
| 23 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 24 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
| 25 |
text_clean_output = gr.Textbox(label="Text transcription")
|
| 26 |
-
json_output = gr.JSON("JSON Transcription")
|
| 27 |
gr.Interface(
|
| 28 |
fn=transcriber,
|
| 29 |
inputs=[file, file_type, max_words_per_line, task, model_version],
|
|
@@ -42,7 +42,7 @@ def main():
|
|
| 42 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 43 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
| 44 |
text_clean_output = gr.Textbox(label="Text transcription")
|
| 45 |
-
json_output = gr.JSON("JSON Transcription")
|
| 46 |
gr.Interface(
|
| 47 |
fn=transcriber,
|
| 48 |
inputs=[file, file_type, max_words_per_line, task, model_version],
|
|
|
|
| 23 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 24 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
| 25 |
text_clean_output = gr.Textbox(label="Text transcription")
|
| 26 |
+
json_output = gr.JSON(label="JSON Transcription")
|
| 27 |
gr.Interface(
|
| 28 |
fn=transcriber,
|
| 29 |
inputs=[file, file_type, max_words_per_line, task, model_version],
|
|
|
|
| 42 |
text_output = gr.Textbox(label="SRT Text transcription")
|
| 43 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
| 44 |
text_clean_output = gr.Textbox(label="Text transcription")
|
| 45 |
+
json_output = gr.JSON(label="JSON Transcription")
|
| 46 |
gr.Interface(
|
| 47 |
fn=transcriber,
|
| 48 |
inputs=[file, file_type, max_words_per_line, task, model_version],
|