reichenbach
commited on
Commit
•
40d8dc5
1
Parent(s):
b6b2396
removing printing statements
Browse files
app.py
CHANGED
@@ -83,9 +83,7 @@ def decode_sequence(input_seq):
|
|
83 |
infer_input_data = np.zeros((len(input_seq2), max_encoder_seq_length, num_encoder_tokens), dtype="float32")
|
84 |
|
85 |
for i, (input_text) in enumerate((input_seq2)):
|
86 |
-
print(i, input_text)
|
87 |
for t, char in enumerate(input_text):
|
88 |
-
print(t, char)
|
89 |
infer_input_data[i, t, input_token_index[char]] = 1.0
|
90 |
infer_input_data[i, t + 1:, input_token_index[" "]] = 1.0
|
91 |
|
|
|
83 |
infer_input_data = np.zeros((len(input_seq2), max_encoder_seq_length, num_encoder_tokens), dtype="float32")
|
84 |
|
85 |
for i, (input_text) in enumerate((input_seq2)):
|
|
|
86 |
for t, char in enumerate(input_text):
|
|
|
87 |
infer_input_data[i, t, input_token_index[char]] = 1.0
|
88 |
infer_input_data[i, t + 1:, input_token_index[" "]] = 1.0
|
89 |
|