Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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={}
|