Spaces:
Runtime error
Runtime error
Commit
·
0aa0213
1
Parent(s):
e8c2dc9
Update gpt2.py
Browse files
gpt2.py
CHANGED
@@ -28,8 +28,6 @@ def app(): # Инкапсулирующая функция
|
|
28 |
)
|
29 |
return tokenizer.decode(out[0], skip_special_tokens=True)
|
30 |
|
31 |
-
# Streamlit interface
|
32 |
-
st.title("GPT-2 Text Generator")
|
33 |
|
34 |
user_input = st.text_area("Input Text", "Введите ваш текст")
|
35 |
|
|
|
28 |
)
|
29 |
return tokenizer.decode(out[0], skip_special_tokens=True)
|
30 |
|
|
|
|
|
31 |
|
32 |
user_input = st.text_area("Input Text", "Введите ваш текст")
|
33 |
|