Spaces:
Running
on
Zero
Running
on
Zero
Reverted the deletion of log_user_interaction()
Browse files
app.py
CHANGED
|
@@ -277,6 +277,7 @@ def bot(
|
|
| 277 |
yield _clean_history_for_display(history)
|
| 278 |
|
| 279 |
assistant_message = history[-1]["content"]
|
|
|
|
| 280 |
|
| 281 |
|
| 282 |
# --- drop-in UI compatible with older Gradio versions ---
|
|
|
|
| 277 |
yield _clean_history_for_display(history)
|
| 278 |
|
| 279 |
assistant_message = history[-1]["content"]
|
| 280 |
+
logger.log_interaction(user=user_message_text, answer=assistant_message)
|
| 281 |
|
| 282 |
|
| 283 |
# --- drop-in UI compatible with older Gradio versions ---
|