Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -428,7 +428,7 @@ def get_beam_search_html(
|
|
428 |
outputs = model.generate(
|
429 |
**inputs,
|
430 |
max_new_tokens=number_steps,
|
431 |
-
num_beams=
|
432 |
num_return_sequences=num_return_sequences,
|
433 |
return_dict_in_generate=True,
|
434 |
length_penalty=length_penalty,
|
|
|
428 |
outputs = model.generate(
|
429 |
**inputs,
|
430 |
max_new_tokens=number_steps,
|
431 |
+
num_beams=number_beams,
|
432 |
num_return_sequences=num_return_sequences,
|
433 |
return_dict_in_generate=True,
|
434 |
length_penalty=length_penalty,
|