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