Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ def generate_html_tables(data, selected_fields):
|
|
143 |
if section_fields:
|
144 |
table_html = f"<h3 style='margin-bottom: 0.5em;'>{section}</h3>"
|
145 |
table_html += f"<table style='{table_style}'>"
|
146 |
-
table_html += f"<tr><th style='{th_td_style}; width: 150px;'>Field</th><th style='{th_td_style};'>Details</th></tr>"
|
147 |
for label in section_fields:
|
148 |
key = label_key_map[label]
|
149 |
value = data.get(key, "N/A")
|
|
|
143 |
if section_fields:
|
144 |
table_html = f"<h3 style='margin-bottom: 0.5em;'>{section}</h3>"
|
145 |
table_html += f"<table style='{table_style}'>"
|
146 |
+
table_html += f"<tr><th style='height: 30px; {th_td_style}; width: 150px;'>Field</th><th style='height: 30px; {th_td_style};'>Details</th></tr>"
|
147 |
for label in section_fields:
|
148 |
key = label_key_map[label]
|
149 |
value = data.get(key, "N/A")
|