JustQuiteMadMax commited on
Commit
cd96d37
·
verified ·
1 Parent(s): a5ade10

Reverted the deletion of log_user_interaction()

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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 ---