bstraehle commited on
Commit
3267c67
1 Parent(s): 805ff2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -76,6 +76,7 @@ def chat(message, msg2, history):
76
  return extract_content_values(messages)[0]
77
 
78
  def vote(data: gr.LikeData):
 
79
  if data.liked:
80
  print("You upvoted this response: " + data.value["value"])
81
  else:
 
76
  return extract_content_values(messages)[0]
77
 
78
  def vote(data: gr.LikeData):
79
+ print(data)
80
  if data.liked:
81
  print("You upvoted this response: " + data.value["value"])
82
  else: