Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,8 @@ def analyze_datasets(dataset, dataset_name, token, column=None, pairwise="off"):
|
|
19 |
analyze_report = sv.analyze(df, target_feat=column, pairwise_analysis=pairwise)
|
20 |
else:
|
21 |
analyze_report = sv.analyze(df, pairwise_analysis=pairwise)
|
22 |
-
|
|
|
23 |
repo_url = create_repo(f"{username}/{dataset_name}", repo_type = "space", token = token, space_sdk = "static", private=False)
|
24 |
|
25 |
upload_file(path_or_fileobj ="./index.html", path_in_repo = "./", repo_id =f"{username}/{dataset_name}", repo_type = "space", token=token)
|
|
|
19 |
analyze_report = sv.analyze(df, target_feat=column, pairwise_analysis=pairwise)
|
20 |
else:
|
21 |
analyze_report = sv.analyze(df, pairwise_analysis=pairwise)
|
22 |
+
|
23 |
+
analyze_report.show_html('./index.html', open_browser=False)
|
24 |
repo_url = create_repo(f"{username}/{dataset_name}", repo_type = "space", token = token, space_sdk = "static", private=False)
|
25 |
|
26 |
upload_file(path_or_fileobj ="./index.html", path_in_repo = "./", repo_id =f"{username}/{dataset_name}", repo_type = "space", token=token)
|