Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ lsh_builder.lsh = loaded_lsh
|
|
24 |
dataset = load_dataset("gjuggler/bird-data")
|
25 |
num_samples = 10000
|
26 |
seed = 42
|
27 |
-
candidate_dataset=
|
28 |
#candidate_dataset = dataset["train"].shuffle(seed=seed)
|
29 |
|
30 |
def query(image, top_k):
|
|
|
24 |
dataset = load_dataset("gjuggler/bird-data")
|
25 |
num_samples = 10000
|
26 |
seed = 42
|
27 |
+
candidate_dataset= dataset["train"].shuffle(seed=seed).select(range(num_samples))
|
28 |
#candidate_dataset = dataset["train"].shuffle(seed=seed)
|
29 |
|
30 |
def query(image, top_k):
|