rameshmoorthy
commited on
Commit
•
cb63445
1
Parent(s):
8cc8a10
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ def generate_report(file, type):
|
|
25 |
|
26 |
sweetviz_report = sv.analyze(df)
|
27 |
#sweetviz_report=sweetviz_report.show_html()
|
28 |
-
print(type(sweetviz_report))
|
29 |
-
|
30 |
temp_file3 = NamedTemporaryFile(delete=False, suffix=".html")
|
31 |
temp_file3.write(report)
|
32 |
temp_file3.close()
|
|
|
25 |
|
26 |
sweetviz_report = sv.analyze(df)
|
27 |
#sweetviz_report=sweetviz_report.show_html()
|
28 |
+
#print(type(sweetviz_report))
|
29 |
+
sweetviz_report.to_file("SWEETVIZ_REPORT.html")
|
30 |
temp_file3 = NamedTemporaryFile(delete=False, suffix=".html")
|
31 |
temp_file3.write(report)
|
32 |
temp_file3.close()
|