Spaces:
Runtime error
Runtime error
Commit
·
cb250cc
1
Parent(s):
1db7b55
fix
Browse files
run.py
CHANGED
@@ -13,7 +13,7 @@ if __name__ == "__main__":
|
|
13 |
|
14 |
while True:
|
15 |
df = df.drop(columns=["embedding_ft", "nn_image", "embedding_foundation"])
|
16 |
-
df.sample(10000, random_state=42).reset_index(drop=True)
|
17 |
dtypes = {
|
18 |
"image": spotlight.Image,
|
19 |
"embedding_foundation_precalc": spotlight.Embedding,
|
|
|
13 |
|
14 |
while True:
|
15 |
df = df.drop(columns=["embedding_ft", "nn_image", "embedding_foundation"])
|
16 |
+
df = df.sample(10000, random_state=42).reset_index(drop=True)
|
17 |
dtypes = {
|
18 |
"image": spotlight.Image,
|
19 |
"embedding_foundation_precalc": spotlight.Embedding,
|