davanstrien HF staff commited on
Commit
0cd2bb2
·
1 Parent(s): b2e385a
Files changed (1) hide show
  1. app.py +1 -1
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
- return "You've already voted on this blurb!"
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