Spaces:
Sleeping
Sleeping
Commit
·
0cd2bb2
1
Parent(s):
b2e385a
logging
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def log_blurb_and_vote(prompt, blurb, vote, user_info: gr.OAuthProfile | None, *
|
|
94 |
vote_id = generate_vote_id(user_id, blurb)
|
95 |
|
96 |
if vote_id in votes:
|
97 |
-
|
98 |
|
99 |
votes[vote_id] = vote
|
100 |
|
|
|
94 |
vote_id = generate_vote_id(user_id, blurb)
|
95 |
|
96 |
if vote_id in votes:
|
97 |
+
gr.Info("You've already voted on this blurb!")
|
98 |
|
99 |
votes[vote_id] = vote
|
100 |
|