lamhieu commited on
Commit
07da271
·
1 Parent(s): e1525a9

chore: remove temperature value from generate_kwargs

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -314,7 +314,6 @@ def generate(
314
  streamer=streamer,
315
  max_new_tokens=max_new_tokens,
316
  do_sample=True,
317
- temperature=temperature,
318
  repetition_penalty=repetition_penalty,
319
  )
320
  if temperature == 0:
 
314
  streamer=streamer,
315
  max_new_tokens=max_new_tokens,
316
  do_sample=True,
 
317
  repetition_penalty=repetition_penalty,
318
  )
319
  if temperature == 0: