vsrinivas commited on
Commit
913fa30
1 Parent(s): e6a5434

Update funcs.py

Browse files
Files changed (1) hide show
  1. funcs.py +4 -4
funcs.py CHANGED
@@ -101,12 +101,12 @@ def summarize_and_recommend(therapy_session_conversation):
101
  print("tcs:", therapy_session_conversation, type(therapy_session_conversation))
102
 
103
  session_time = str(datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
104
- session_conversation_processed = [session_time] + therapy_session_conversation
105
-
106
  # session_conversation_processed = session_conversation.copy()
107
  # session_conversation_processed.insert(0, "Session_time: "+session_time)
108
- session_conversation_processed ='\n'.join(session_conversation_processed)
109
- # therapy_session_conversation.insert(0, "Session_time: "+session_time)
110
  # session_conversation_processed ='\n'.join(therapy_session_conversation)
111
  print("session_conversation_processed:", session_conversation_processed)
112
 
 
101
  print("tcs:", therapy_session_conversation, type(therapy_session_conversation))
102
 
103
  session_time = str(datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
104
+ session_conversation_processed = [item[0] for item in therapy_session_conversation]
105
+ # session_conversation_processed = [session_time] + therapy_session_conversation
106
  # session_conversation_processed = session_conversation.copy()
107
  # session_conversation_processed.insert(0, "Session_time: "+session_time)
108
+ # session_conversation_processed ='\n'.join(session_conversation_processed)
109
+ session_conversation_processed.insert(0, "Session_time: "+session_time)
110
  # session_conversation_processed ='\n'.join(therapy_session_conversation)
111
  print("session_conversation_processed:", session_conversation_processed)
112