Spaces:
Running
Running
Update funcs.py
Browse files
funcs.py
CHANGED
@@ -103,7 +103,7 @@ def summarize_and_recommend(therapy_session_conversation):
|
|
103 |
session_conversation = [item[0] for item in session_conversation]
|
104 |
|
105 |
session_time = str(datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
|
106 |
-
session_conversation_processed =
|
107 |
session_conversation_processed.insert(0, "Session_time: "+session_time)
|
108 |
session_conversation_processed ='\n'.join(session_conversation_processed)
|
109 |
print("Session conversation:", session_conversation_processed)
|
|
|
103 |
session_conversation = [item[0] for item in session_conversation]
|
104 |
|
105 |
session_time = str(datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
|
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 |
print("Session conversation:", session_conversation_processed)
|