m-ric HF staff commited on
Commit
a7688c0
·
verified ·
1 Parent(s): 73610f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -336,7 +336,7 @@ def generate_beams(start_sentence, scores, length_penalty, decoded_sequences, be
336
  ]
337
  if any(["you enjoyed" in el for el in top_df["current_sequence"]]):
338
  print("Displaying debug info:::")
339
- display(top_df_selected)
340
 
341
  # Write the scores table - one per beam source
342
  for beam_ix in reversed(list(range(n_beams))):
 
336
  ]
337
  if any(["you enjoyed" in el for el in top_df["current_sequence"]]):
338
  print("Displaying debug info:::")
339
+ print(top_df_selected)
340
 
341
  # Write the scores table - one per beam source
342
  for beam_ix in reversed(list(range(n_beams))):