Spaces:
Sleeping
Sleeping
aha
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def get_one_from_queue(voter: str):
|
|
54 |
images_not_voted = list(set(list_of_images) - set(df["image_path"].tolist()))
|
55 |
print("images_not_voted", len(images_not_voted))
|
56 |
|
57 |
-
return
|
58 |
|
59 |
|
60 |
def update_vote(
|
|
|
54 |
images_not_voted = list(set(list_of_images) - set(df["image_path"].tolist()))
|
55 |
print("images_not_voted", len(images_not_voted))
|
56 |
|
57 |
+
return images_not_voted[0] if images_not_voted else False
|
58 |
|
59 |
|
60 |
def update_vote(
|