m-ric HF staff commited on
Commit
bf09de3
β€’
1 Parent(s): 9f940a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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(