DrDomedag commited on
Commit
8c6ba15
1 Parent(s): 09fb6e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -25,9 +25,11 @@ def respond(
25
  for val in history:
26
  if val[0]:
27
  messages.append({"role": "user", "content": val[0]})
 
28
  print(val[0])
29
  if val[1]:
30
  messages.append({"role": "assistant", "content": val[1]})
 
31
  print(val[1])
32
 
33
  messages.append({"role": "user", "content": message})
@@ -45,6 +47,7 @@ def respond(
45
 
46
  response += token
47
  yield response
 
48
  print(response)
49
 
50
 
 
25
  for val in history:
26
  if val[0]:
27
  messages.append({"role": "user", "content": val[0]})
28
+ print("val[0]:")
29
  print(val[0])
30
  if val[1]:
31
  messages.append({"role": "assistant", "content": val[1]})
32
+ print("val[1]:")
33
  print(val[1])
34
 
35
  messages.append({"role": "user", "content": message})
 
47
 
48
  response += token
49
  yield response
50
+ print("response:")
51
  print(response)
52
 
53