Syoy commited on
Commit
3e9cab9
1 Parent(s): b6b8ab0

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -6,4 +6,4 @@ if __name__ == "__main__":
6
 
7
  df = dataset.to_pandas()
8
  df_show = df.drop(columns=['embedding', 'probabilities'])
9
- spotlight.show(df_show, port=7860, host="0.0.0.0", dtype={"image": spotlight.Image, "embedding_reduced": spotlight.Embedding})
 
6
 
7
  df = dataset.to_pandas()
8
  df_show = df.drop(columns=['embedding', 'probabilities'])
9
+ spotlight.show(df_show.sample(5000, random_state=1), port=7860, host="0.0.0.0", dtype={"image": spotlight.Image, "embedding_reduced": spotlight.Embedding})