MarziehFadaee commited on
Commit
f75f3a4
1 Parent(s): 7eabdd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -19,7 +19,9 @@ def generate_response(user_message, cid, history=None):
19
  history = []
20
  if cid == "" or None:
21
  cid = str(uuid.uuid4())
22
-
 
 
23
  history.append(user_message)
24
 
25
  stream = co.chat_stream(message=user_message, conversation_id=cid, model='command-r-plus', connectors=[], temperature=0.3)
 
19
  history = []
20
  if cid == "" or None:
21
  cid = str(uuid.uuid4())
22
+
23
+ print(f"cid: {cid} prompt:{user_message}")
24
+
25
  history.append(user_message)
26
 
27
  stream = co.chat_stream(message=user_message, conversation_id=cid, model='command-r-plus', connectors=[], temperature=0.3)