Spaces:
Build error
Build error
bankholdup
commited on
Commit
•
0c1b939
1
Parent(s):
9eef702
Update app.py
Browse files
app.py
CHANGED
@@ -39,10 +39,8 @@ if st.button("Поехали", help="Может занять какое-то в
|
|
39 |
num_return_sequences=1,
|
40 |
)
|
41 |
if len(output_sequences.shape) > 2:
|
42 |
-
output_sequences.squeeze_()
|
43 |
-
|
44 |
-
st.title("Топовая песня")
|
45 |
-
|
46 |
for generated_sequence_idx, generated_sequence in enumerate(output_sequences):
|
47 |
generated_sequence = generated_sequence.tolist()
|
48 |
text = tokenizer.decode(generated_sequence, clean_up_tokenization_spaces=True)
|
|
|
39 |
num_return_sequences=1,
|
40 |
)
|
41 |
if len(output_sequences.shape) > 2:
|
42 |
+
output_sequences.squeeze_()
|
43 |
+
|
|
|
|
|
44 |
for generated_sequence_idx, generated_sequence in enumerate(output_sequences):
|
45 |
generated_sequence = generated_sequence.tolist()
|
46 |
text = tokenizer.decode(generated_sequence, clean_up_tokenization_spaces=True)
|