Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def analyze_datasets(dataset, dataset_name, token, column=None, pairwise="off")
|
|
14 |
analyze_report = sv.analyze(df, target_feat=column, pairwise_analysis=pairwise)
|
15 |
else:
|
16 |
analyze_report = sv.analyze(df, pairwise_analysis=pairwise)
|
17 |
-
|
18 |
repo_url = create_repo(f"{username}/{dataset_name}", repo_type = "space", token = token, space_sdk = "static", private=False)
|
19 |
|
20 |
upload_file(path_or_fileobj ="./index.html", path_in_repo = "index.html", repo_id =f"{username}/{dataset_name}", repo_type = "space", token=token)
|
|
|
14 |
analyze_report = sv.analyze(df, target_feat=column, pairwise_analysis=pairwise)
|
15 |
else:
|
16 |
analyze_report = sv.analyze(df, pairwise_analysis=pairwise)
|
17 |
+
analyze_report.show_html('./index.html', open_browser=False)
|
18 |
repo_url = create_repo(f"{username}/{dataset_name}", repo_type = "space", token = token, space_sdk = "static", private=False)
|
19 |
|
20 |
upload_file(path_or_fileobj ="./index.html", path_in_repo = "index.html", repo_id =f"{username}/{dataset_name}", repo_type = "space", token=token)
|