chore: remove temperature value from generate_kwargs
Browse files
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:
|