merve HF staff commited on
Commit
53117e5
1 Parent(s): 0e6d7eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- analyze_report.show_html('./index.html', open_browser=False)
 
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)