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