Nyha15 commited on
Commit
30a53ff
·
1 Parent(s): a738995

Fixed formatting issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1242,7 +1242,7 @@ def run_data_analysis(dataset_url, llm_provider, api_key, missing_strategy, crea
1242
  if "content" in report_content:
1243
  # LLM-generated report
1244
  report_html = f"<h2>{report_content['title']}</h2>"
1245
- report_html += f"<div>{report_content['content'].replace('\n', '<br/>')}</div>"
1246
  elif "sections" in report_content:
1247
  # Template-based report
1248
  report_html = f"<h2>{report_content['title']}</h2>"
 
1242
  if "content" in report_content:
1243
  # LLM-generated report
1244
  report_html = f"<h2>{report_content['title']}</h2>"
1245
+ report_html += f"<div>{report_content['content'].replace('\n', '<br>')}</div>"
1246
  elif "sections" in report_content:
1247
  # Template-based report
1248
  report_html = f"<h2>{report_content['title']}</h2>"