rameshmoorthy commited on
Commit
6d4785c
1 Parent(s): 855cf60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def generate_report(file, type):
48
  html_report =ydata_profiling.ProfileReport(df).to_html()
49
 
50
  temp_file = NamedTemporaryFile(delete=False, suffix=".html")
51
- temp_file.write(html_content.encode('utf-8'))
52
  temp_file.close()
53
  return temp_file.name ,html_report
54
 
 
48
  html_report =ydata_profiling.ProfileReport(df).to_html()
49
 
50
  temp_file = NamedTemporaryFile(delete=False, suffix=".html")
51
+ temp_file.write(html_report.encode('utf-8'))
52
  temp_file.close()
53
  return temp_file.name ,html_report
54