JiakaiDu commited on
Commit
85db512
1 Parent(s): e9afb05

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Test_RAG.py +2 -2
Test_RAG.py CHANGED
@@ -630,8 +630,8 @@ def bot(history, temperature, top_p, top_k, repetition_penalty, hide_full_prompt
630
  # for new_text in streamer:
631
  # partial_text = text_processor(partial_text, new_text)
632
  # history[-1][1] = partial_text
633
- history[-1][1] = response
634
- yield history
635
 
636
 
637
  def request_cancel():
 
630
  # for new_text in streamer:
631
  # partial_text = text_processor(partial_text, new_text)
632
  # history[-1][1] = partial_text
633
+ history[-1][1] = response
634
+ yield history
635
 
636
 
637
  def request_cancel():