Commit
•
8cc8a10
1
Parent(s):
c629849
Update app.py
Browse files
app.py
CHANGED
@@ -24,10 +24,11 @@ def generate_report(file, type):
|
|
24 |
|
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(
|
31 |
temp_file3.close()
|
32 |
|
33 |
return temp_file1.name ,temp_file2.name ,temp_file3.nam
|
|
|
24 |
|
25 |
|
26 |
sweetviz_report = sv.analyze(df)
|
27 |
+
#sweetviz_report=sweetviz_report.show_html()
|
28 |
print(type(sweetviz_report))
|
29 |
+
report.to_file("SWEETVIZ_REPORT.html")
|
30 |
temp_file3 = NamedTemporaryFile(delete=False, suffix=".html")
|
31 |
+
temp_file3.write(report)
|
32 |
temp_file3.close()
|
33 |
|
34 |
return temp_file1.name ,temp_file2.name ,temp_file3.nam
|