Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ col1, col2= st.columns(2)
|
|
| 35 |
with col1:
|
| 36 |
st.title("TC32 Multi-Class Text Classification")
|
| 37 |
st.subheader('Model Loss and Accuracy')
|
| 38 |
-
st.markdown("<
|
| 39 |
st.area_chart(chart_data, height=320)
|
| 40 |
yorum_model, tokenizer = load_model()
|
| 41 |
|
|
@@ -44,7 +44,7 @@ with col2:
|
|
| 44 |
st.title("Sınıfı bulmak için bir şikayet girin.")
|
| 45 |
st.subheader("Enter complaint (in Turkish) to find the class.")
|
| 46 |
#st.subheader("Şikayet")
|
| 47 |
-
text = st.text_area("
|
| 48 |
aButton = st.button('Ara')
|
| 49 |
|
| 50 |
def prepare_data(input_text, tokenizer):
|
|
|
|
| 35 |
with col1:
|
| 36 |
st.title("TC32 Multi-Class Text Classification")
|
| 37 |
st.subheader('Model Loss and Accuracy')
|
| 38 |
+
st.markdown("<br>", unsafe_allow_html=True)
|
| 39 |
st.area_chart(chart_data, height=320)
|
| 40 |
yorum_model, tokenizer = load_model()
|
| 41 |
|
|
|
|
| 44 |
st.title("Sınıfı bulmak için bir şikayet girin.")
|
| 45 |
st.subheader("Enter complaint (in Turkish) to find the class.")
|
| 46 |
#st.subheader("Şikayet")
|
| 47 |
+
text = st.text_area("", "Bebeğim haftada bir kutu mama bitiriyor. Geçen hafta 135 tl'ye aldığım mama bugün 180 tl olmuş. Ben de artık aptamil almayacağım. Tüketici haklarına şikayet etmemiz gerekiyor. Yazıklar olsun.", height=240)
|
| 48 |
aButton = st.button('Ara')
|
| 49 |
|
| 50 |
def prepare_data(input_text, tokenizer):
|