m-ric HF staff commited on
Commit
790226e
1 Parent(s): 2d3c192

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -198,7 +198,6 @@ class BeamNode:
198
 
199
 
200
  def generate_beams(start_sentence, scores, sequences, beam_indices):
201
- print(tokenizer.batch_decode(sequences))
202
  sequences = sequences.cpu().numpy()
203
  original_tree = BeamNode(
204
  cumulative_score=0, table=None, current_sentence=start_sentence, children={}
 
198
 
199
 
200
  def generate_beams(start_sentence, scores, sequences, beam_indices):
 
201
  sequences = sequences.cpu().numpy()
202
  original_tree = BeamNode(
203
  cumulative_score=0, table=None, current_sentence=start_sentence, children={}