Update app.py
Browse files
app.py
CHANGED
|
@@ -402,7 +402,7 @@ class App:
|
|
| 402 |
if html_code != "": html_code += " "
|
| 403 |
html_code += "<a href='"+file_to_dl+"'>test</a>"
|
| 404 |
temp =[["test1",html_code],["test2",html_code]]
|
| 405 |
-
return gr.
|
| 406 |
|
| 407 |
if value_cb_timestamp_preview==True and value_cb_diarize==True:
|
| 408 |
return gr.Dataframe(headers=["Time","Speaker","Text","Download"],column_widths=["10%","15%","50%","20%"],datatype=["str","str","markdown","html"])
|
|
|
|
| 402 |
if html_code != "": html_code += " "
|
| 403 |
html_code += "<a href='"+file_to_dl+"'>test</a>"
|
| 404 |
temp =[["test1",html_code],["test2",html_code]]
|
| 405 |
+
return gr.Update(headers=["Text","Download"],column_widths=["75%","20%"],datatype=["markdown","html"],value=temp)
|
| 406 |
|
| 407 |
if value_cb_timestamp_preview==True and value_cb_diarize==True:
|
| 408 |
return gr.Dataframe(headers=["Time","Speaker","Text","Download"],column_widths=["10%","15%","50%","20%"],datatype=["str","str","markdown","html"])
|