Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -368,7 +368,7 @@ def get_beam_search_html(input_text, number_steps, number_beams, length_penalty)
|
|
368 |
num_beams=number_beams,
|
369 |
num_return_sequences=number_beams,
|
370 |
return_dict_in_generate=True,
|
371 |
-
length_penalty
|
372 |
output_scores=True,
|
373 |
do_sample=False,
|
374 |
)
|
|
|
368 |
num_beams=number_beams,
|
369 |
num_return_sequences=number_beams,
|
370 |
return_dict_in_generate=True,
|
371 |
+
length_penalty=length_penalty,
|
372 |
output_scores=True,
|
373 |
do_sample=False,
|
374 |
)
|