Spaces:
Paused
Paused
add print msgs
Browse files
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 |
|