Update pages/gpt.py
Browse files- pages/gpt.py +3 -3
pages/gpt.py
CHANGED
|
@@ -44,8 +44,8 @@ if st.button('Сгенерировать текст'):
|
|
| 44 |
st.write('**_Результат_** 👇')
|
| 45 |
for i, out_ in enumerate(out):
|
| 46 |
|
| 47 |
-
|
| 48 |
st.write(textwrap.fill(tokenizer.decode(out_), 100))
|
| 49 |
-
st.image("pict/wow.png")
|
| 50 |
-
|
| 51 |
|
|
|
|
| 44 |
st.write('**_Результат_** 👇')
|
| 45 |
for i, out_ in enumerate(out):
|
| 46 |
|
| 47 |
+
with st.expander(f'Текст {i+1}:'):
|
| 48 |
st.write(textwrap.fill(tokenizer.decode(out_), 100))
|
| 49 |
+
st.image("pict/wow.png")
|
| 50 |
+
|
| 51 |
|