finalf0 commited on
Commit
7af6f77
1 Parent(s): f5623a4

add print msgs

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -169,6 +169,7 @@ def respond(_question, _chat_bot, _app_cfg, params_form, num_beams, repetition_p
169
  'repetition_penalty': repetition_penalty_2,
170
  "max_new_tokens": 896
171
  }
 
172
  code, _answer, _, sts = chat(_app_cfg['img'], _context, None, params)
173
  print('<Assistant>:', _answer)
174
 
 
169
  'repetition_penalty': repetition_penalty_2,
170
  "max_new_tokens": 896
171
  }
172
+ print('msgs:', _context)
173
  code, _answer, _, sts = chat(_app_cfg['img'], _context, None, params)
174
  print('<Assistant>:', _answer)
175