Spaces:
Runtime error
Runtime error
Manaranjan
commited on
Commit
•
66b7053
1
Parent(s):
afbf17b
deploy at 2024-08-13 09:10:42.262523
Browse files
main.py
CHANGED
@@ -104,9 +104,7 @@ def generate_table(summaries_obj):
|
|
104 |
style = "width: 10%;"),
|
105 |
Td(highlight_text(summary.summary_item, summary.keywords),
|
106 |
style = "width: 60%;"),
|
107 |
-
Td(Div(Details(Summary("
|
108 |
-
role="button",
|
109 |
-
cls="outline"),
|
110 |
P(summary.brief_descripton_of_summary)),
|
111 |
style ="padding: 0.5em 0.5em 0;"),
|
112 |
style = "width: 30%;")))
|
@@ -114,9 +112,7 @@ def generate_table(summaries_obj):
|
|
114 |
else:
|
115 |
table_rows.append(Tr(Td(highlight_text(summary.summary_item, summary.keywords),
|
116 |
style = f"width: 60%; rowspan='{len(topic_summary.summaries)}'"),
|
117 |
-
Td(Div(Details(Summary("
|
118 |
-
role="button",
|
119 |
-
cls="outline"),
|
120 |
P(summary.brief_descripton_of_summary)),
|
121 |
style ="padding: 0.5em 0.5em 0;"),
|
122 |
style = "width: 30%;")))
|
|
|
104 |
style = "width: 10%;"),
|
105 |
Td(highlight_text(summary.summary_item, summary.keywords),
|
106 |
style = "width: 60%;"),
|
107 |
+
Td(Div(Details(Summary( style = "summary::-webkit-details-marker { display: none }; list-style-type: '+'"),
|
|
|
|
|
108 |
P(summary.brief_descripton_of_summary)),
|
109 |
style ="padding: 0.5em 0.5em 0;"),
|
110 |
style = "width: 30%;")))
|
|
|
112 |
else:
|
113 |
table_rows.append(Tr(Td(highlight_text(summary.summary_item, summary.keywords),
|
114 |
style = f"width: 60%; rowspan='{len(topic_summary.summaries)}'"),
|
115 |
+
Td(Div(Details(Summary( style = "summary::-webkit-details-marker { display: none }; list-style-type: '+'"),
|
|
|
|
|
116 |
P(summary.brief_descripton_of_summary)),
|
117 |
style ="padding: 0.5em 0.5em 0;"),
|
118 |
style = "width: 30%;")))
|