davidberenstein1957 HF staff commited on
Commit
0f08005
·
1 Parent(s): d39610d

Add debugging breakpoint in submit_conversation function to inspect conversation processing

Browse files
Files changed (1) hide show
  1. app/app.py +0 -1
app/app.py CHANGED
@@ -274,7 +274,6 @@ def submit_conversation(dataframe, session_id, language):
274
 
275
  dataframe["content"] = dataframe["content"].apply(_process_content)
276
  conversation = dataframe.to_dict(orient="records")
277
- conversation = conversation[1:] # remove system message
278
  conversation_data = {
279
  "conversation": conversation,
280
  "timestamp": datetime.now().isoformat(),
 
274
 
275
  dataframe["content"] = dataframe["content"].apply(_process_content)
276
  conversation = dataframe.to_dict(orient="records")
 
277
  conversation_data = {
278
  "conversation": conversation,
279
  "timestamp": datetime.now().isoformat(),