vsrinivas commited on
Commit
dad9e16
1 Parent(s): b952f74

Update funcs.py

Browse files
Files changed (1) hide show
  1. funcs.py +5 -3
funcs.py CHANGED
@@ -104,9 +104,11 @@ def summarize_and_recommend(therapy_session_conversation):
104
  print("Session conversation:", session_conversation)
105
 
106
  session_time = str(datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
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
  print("session_conversation_processed:", session_conversation_processed)
111
 
112
  full_summary = ""
 
104
  print("Session conversation:", session_conversation)
105
 
106
  session_time = str(datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
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
+ therapy_session_conversation.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 = ""