ysharma HF Staff commited on
Commit
785765a
·
1 Parent(s): 4ba4ccd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -147,6 +147,8 @@ def bot_streaming_phi3(message, history):
147
  yield generated_text_without_prompt
148
 
149
 
 
 
150
  #chatbot=gr.Chatbot(placeholder=PLACEHOLDER,scale=1)
151
  #chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], placeholder="Enter message or upload file...", show_label=False)
152
 
 
147
  yield generated_text_without_prompt
148
 
149
 
150
+ def print_like_dislike(x: gr.LikeData):
151
+ print(x.index, x.value, x.liked)
152
  #chatbot=gr.Chatbot(placeholder=PLACEHOLDER,scale=1)
153
  #chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], placeholder="Enter message or upload file...", show_label=False)
154