lamhieu commited on
Commit
8b0d456
·
1 Parent(s): c0121ac

chore: remove temperature value from generate_kwargs

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -305,7 +305,6 @@ def generate(
305
  streamer=streamer,
306
  max_new_tokens=max_new_tokens,
307
  do_sample=True,
308
- temperature=temperature,
309
  repetition_penalty=repetition_penalty,
310
  )
311
  if temperature == 0:
 
305
  streamer=streamer,
306
  max_new_tokens=max_new_tokens,
307
  do_sample=True,
 
308
  repetition_penalty=repetition_penalty,
309
  )
310
  if temperature == 0: