h-siyuan commited on
Commit
3b78d85
·
verified ·
1 Parent(s): efe3694

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ def save_and_upload_data(image, query, session_id, is_example_image, votes=None)
185
  def update_vote(vote_type, session_id, is_example_image):
186
  """Update the vote count and re-upload the JSON file."""
187
  if is_example_image == "True":
188
- return "Example image used. No vote recorded."
189
 
190
  local_file_name = f"{session_id}.json"
191
 
 
185
  def update_vote(vote_type, session_id, is_example_image):
186
  """Update the vote count and re-upload the JSON file."""
187
  if is_example_image == "True":
188
+ return "Example image."
189
 
190
  local_file_name = f"{session_id}.json"
191