Spaces:
Running
Running
Update app.py
Browse files
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:
|