Update app.py
Browse files
app.py
CHANGED
@@ -329,7 +329,16 @@ class App:
|
|
329 |
with gr.Column(scale=4):
|
330 |
#tb_indicator = gr.Textbox(label="Output preview (Always review output generated by AI models)", show_copy_button=True, show_label=True)
|
331 |
with gr.Row():
|
332 |
-
tb_indicator = gr.Dataframe(label="Output preview (Always review output generated by AI models)",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
with gr.Column(scale=1):
|
334 |
tb_info = gr.Textbox(label="Output info", interactive=False, show_copy_button=True)
|
335 |
files_subtitles = gr.Files(label="Output data", interactive=False, file_count="multiple")
|
|
|
329 |
with gr.Column(scale=4):
|
330 |
#tb_indicator = gr.Textbox(label="Output preview (Always review output generated by AI models)", show_copy_button=True, show_label=True)
|
331 |
with gr.Row():
|
332 |
+
tb_indicator = gr.Dataframe(label="Output preview (Always review output generated by AI models)",
|
333 |
+
headers= ["Time","Speaker","Text"],
|
334 |
+
column_widths = ["10%","15%","70%"],
|
335 |
+
datatype = ["str","str","markdown"],
|
336 |
+
show_search="search", wrap=True,
|
337 |
+
line_breaks=True, show_label=True,
|
338 |
+
show_copy_button=True,
|
339 |
+
show_fullscreen_button=True,
|
340 |
+
interactive=False,
|
341 |
+
elem_id="md_disclaimer")
|
342 |
with gr.Column(scale=1):
|
343 |
tb_info = gr.Textbox(label="Output info", interactive=False, show_copy_button=True)
|
344 |
files_subtitles = gr.Files(label="Output data", interactive=False, file_count="multiple")
|