fCola commited on
Commit
bfa0650
·
verified ·
1 Parent(s): db465d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -683,10 +683,15 @@ def send_message(message, history):
683
  idx = 0
684
  cleared = False
685
 
 
 
 
 
686
  if len(context) > 1000:
687
  context = context[:1000] + "[...]"
688
-
689
  for t in response_generator:
 
690
  if idx <= 3:
691
  idx += 1
692
  continue
 
683
  idx = 0
684
  cleared = False
685
 
686
+ print("\n\n MODEL INPUT")
687
+ print(message)
688
+ print("\n\n")
689
+
690
  if len(context) > 1000:
691
  context = context[:1000] + "[...]"
692
+ print("\n\n MODEL OUTPUT")
693
  for t in response_generator:
694
+ print(t, end="")
695
  if idx <= 3:
696
  idx += 1
697
  continue