vsrinivas commited on
Commit
f479218
1 Parent(s): c215b9f

Update funcs.py

Browse files
Files changed (1) hide show
  1. funcs.py +5 -1
funcs.py CHANGED
@@ -103,12 +103,16 @@ def summarize_and_recommend(therapy_session_conversation):
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
  print(type(session_conversation_processed), session_conversation_processed)
 
 
106
  # session_conversation_processed = [session_time] + therapy_session_conversation
107
  # session_conversation_processed = session_conversation.copy()
108
  # session_conversation_processed.insert(0, "Session_time: "+session_time)
109
  # session_conversation_processed ='\n'.join(session_conversation_processed)
 
110
  session_conversation_processed.insert(0, "Session_time: "+session_time)
111
- # session_conversation_processed ='\n'.join(therapy_session_conversation)
 
112
  print("session_conversation_processed:", session_conversation_processed)
113
 
114
  full_summary = ""
 
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
  print(type(session_conversation_processed), session_conversation_processed)
106
+ session_conversation_processed = session_conversation_processed[1:]
107
+
108
  # session_conversation_processed = [session_time] + therapy_session_conversation
109
  # session_conversation_processed = session_conversation.copy()
110
  # session_conversation_processed.insert(0, "Session_time: "+session_time)
111
  # session_conversation_processed ='\n'.join(session_conversation_processed)
112
+
113
  session_conversation_processed.insert(0, "Session_time: "+session_time)
114
+
115
+ session_conversation_processed ='\n'.join(therapy_session_conversation)
116
  print("session_conversation_processed:", session_conversation_processed)
117
 
118
  full_summary = ""