svjack commited on
Commit
869f8bf
·
1 Parent(s): ad5892c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def process_stream(instruction, temperature, top_p, top_k, max_new_tokens, seed)
22
  )
23
  else:
24
  history = instruction.split("[SEP]")
25
- chatglm_llm.chat(
26
  history=history,
27
  temperature=temperature,
28
  top_p=top_p,top_k=top_k,max_length=max_new_tokens,
 
22
  )
23
  else:
24
  history = instruction.split("[SEP]")
25
+ streamer = chatglm_llm.chat(
26
  history=history,
27
  temperature=temperature,
28
  top_p=top_p,top_k=top_k,max_length=max_new_tokens,