Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ if encoded_prompt.size()[-1] == 0:
|
|
37 |
else:
|
38 |
input_ids = encoded_prompt
|
39 |
output_sequences = infer(input_ids, max_length, temperature, top_k, top_p, num_return_sequences)
|
40 |
-
|
41 |
for generated_sequence_idx, generated_sequence in enumerate(output_sequences):
|
42 |
print(f"=== GENERATED SEQUENCE {generated_sequence_idx + 1} ===")
|
43 |
generated_sequences = generated_sequence.tolist()
|
|
|
37 |
else:
|
38 |
input_ids = encoded_prompt
|
39 |
output_sequences = infer(input_ids, max_length, temperature, top_k, top_p, num_return_sequences)
|
40 |
+
|
41 |
for generated_sequence_idx, generated_sequence in enumerate(output_sequences):
|
42 |
print(f"=== GENERATED SEQUENCE {generated_sequence_idx + 1} ===")
|
43 |
generated_sequences = generated_sequence.tolist()
|