Syoy commited on
Commit
4e90c5b
·
1 Parent(s): cf0ae5f

Create run.py

Browse files
Files changed (1) hide show
  1. run.py +13 -0
run.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datasets import load_dataset
2
+ from renumics import spotlight
3
+
4
+
5
+ if __name__ == "__main__":
6
+ dataset = "mstz/wine"
7
+
8
+ ds = load_dataset(dataset)["train"]
9
+ df = ds.to_pandas()
10
+
11
+ while True:
12
+ view = spotlight.show(df, port=7860, host="0.0.0.0", allow_filebrowsing=False)
13
+ view.close()