Update app.py
Browse files
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 |
|