Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def generate(
|
|
77 |
pad_token_id = tokenizer.eos_token_id,
|
78 |
repetition_penalty=repetition_penalty,
|
79 |
no_repeat_ngram_size=5,
|
80 |
-
early_stopping=
|
81 |
)
|
82 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
83 |
t.start()
|
|
|
77 |
pad_token_id = tokenizer.eos_token_id,
|
78 |
repetition_penalty=repetition_penalty,
|
79 |
no_repeat_ngram_size=5,
|
80 |
+
early_stopping=False,
|
81 |
)
|
82 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
83 |
t.start()
|