LAP-DEV commited on
Commit
da8fc4d
·
verified ·
1 Parent(s): 0adf407

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -396,6 +396,13 @@ class App:
396
  temp = dataframe_data
397
  print("test df data: ")
398
  print(temp)
 
 
 
 
 
 
 
399
 
400
  return gr.Dataframe(headers=["Text","Download"],column_widths=["75%","20%"],datatype=["markdown","html"],value=temp)
401
 
 
396
  temp = dataframe_data
397
  print("test df data: ")
398
  print(temp)
399
+
400
+ html_code = ""
401
+ for file_to_dl in list_files:
402
+ if html_code != "": html_code += " "
403
+ html_code += "<a href='"+file_to_dl+"'>test</a>"
404
+
405
+ temp =[["","",html_code]]
406
 
407
  return gr.Dataframe(headers=["Text","Download"],column_widths=["75%","20%"],datatype=["markdown","html"],value=temp)
408