Update app.py
Browse files
app.py
CHANGED
|
@@ -402,6 +402,12 @@ 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.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:
|
|
|
|
| 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 |
+
|
| 406 |
+
new_headers = ["New Header 1", "New Header 2"]
|
| 407 |
+
new_data_rows = [[1,temp],[2,temp]]
|
| 408 |
+
updated_data = {"headers": new_headers, "data": new_data_rows}
|
| 409 |
+
return gr.update(value=updated_data)
|
| 410 |
+
|
| 411 |
return gr.Update(headers=["Text","Download"],column_widths=["75%","20%"],datatype=["markdown","html"],value=temp)
|
| 412 |
|
| 413 |
if value_cb_timestamp_preview==True and value_cb_diarize==True:
|