Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
|
|
|
| 4 |
pipe = pipeline('sentiment-analysis')
|
| 5 |
text = st.text_area('введите любой текст')
|
| 6 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
st.title("Определить, положительный или отрицательный текст!")
|
| 5 |
+
|
| 6 |
pipe = pipeline('sentiment-analysis')
|
| 7 |
text = st.text_area('введите любой текст')
|
| 8 |
|