Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -448,7 +448,6 @@ def get_beam_search_html(
|
|
448 |
markdown += f"\n- Score `{outputs.sequences_scores[i]:.2f}`: `{clean(sequence.replace('<s> ', ''))}`"
|
449 |
else:
|
450 |
markdown += f"\n- `{clean(decoded_sequences[0].replace('<s> ', ''))}`"
|
451 |
-
print(outputs.logits)
|
452 |
|
453 |
if number_beams > 1:
|
454 |
original_tree = generate_beams(
|
|
|
448 |
markdown += f"\n- Score `{outputs.sequences_scores[i]:.2f}`: `{clean(sequence.replace('<s> ', ''))}`"
|
449 |
else:
|
450 |
markdown += f"\n- `{clean(decoded_sequences[0].replace('<s> ', ''))}`"
|
|
|
451 |
|
452 |
if number_beams > 1:
|
453 |
original_tree = generate_beams(
|