LAP-DEV commited on
Commit
8c2c1e1
·
verified ·
1 Parent(s): 3270446

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Dataframe(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"])
 
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"])