Spaces:
Sleeping
Sleeping
show all characters
Browse files
app.py
CHANGED
@@ -50,9 +50,9 @@ def get_one_from_queue(voter: str):
|
|
50 |
print(df)
|
51 |
num_past_votes = df.shape[0]
|
52 |
print("num_past_votes", num_past_votes)
|
53 |
-
|
54 |
list_of_images = get_list_of_images()
|
55 |
print("list_of_images", len(list_of_images))
|
|
|
56 |
|
57 |
# get the list of images that are not present in the csv file
|
58 |
images_not_voted = list(set(list_of_images) - set(df["image_path"].tolist()))
|
|
|
50 |
print(df)
|
51 |
num_past_votes = df.shape[0]
|
52 |
print("num_past_votes", num_past_votes)
|
|
|
53 |
list_of_images = get_list_of_images()
|
54 |
print("list_of_images", len(list_of_images))
|
55 |
+
st.write(f"You have voted for {num_past_votes} images out of {len(list_of_images)} images")
|
56 |
|
57 |
# get the list of images that are not present in the csv file
|
58 |
images_not_voted = list(set(list_of_images) - set(df["image_path"].tolist()))
|