rameshmoorthy
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,9 @@ def generate_report(file, type):
|
|
25 |
|
26 |
sweetviz_report = sv.analyze(df)
|
27 |
sweetviz_report=sweetviz_report.show_html()
|
|
|
28 |
temp_file3 = NamedTemporaryFile(delete=False, suffix=".html")
|
29 |
-
temp_file3.write(sweetviz_report
|
30 |
temp_file3.close()
|
31 |
|
32 |
return temp_file1.name ,temp_file2.name ,temp_file3.nam
|
|
|
25 |
|
26 |
sweetviz_report = sv.analyze(df)
|
27 |
sweetviz_report=sweetviz_report.show_html()
|
28 |
+
print(type(sweetviz_report))
|
29 |
temp_file3 = NamedTemporaryFile(delete=False, suffix=".html")
|
30 |
+
temp_file3.write(sweetviz_report)
|
31 |
temp_file3.close()
|
32 |
|
33 |
return temp_file1.name ,temp_file2.name ,temp_file3.nam
|