deadshot2003 commited on
Commit
e627654
·
verified ·
1 Parent(s): e44d315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ app = FastAPI()
10
 
11
  chatbot = pipeline(model="Kaludi/Customer-Support-Assistant-V2")
12
 
13
-
 
14
  def add_message(history, message):
15
  for x in message["files"]:
16
  history.append(((x,), None))
 
10
 
11
  chatbot = pipeline(model="Kaludi/Customer-Support-Assistant-V2")
12
 
13
+ def print_like_dislike(x: gr.LikeData):
14
+ print(x.index, x.value, x.liked)
15
  def add_message(history, message):
16
  for x in message["files"]:
17
  history.append(((x,), None))