Spaces:
Runtime error
Runtime error
Update run.py
Browse files
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})
|