Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ if text or aButton:
|
|
69 |
with st.spinner('Wait for it...'):
|
70 |
processed_data = prepare_data(text, tokenizer)
|
71 |
result = make_prediction(yorum_model, processed_data=processed_data)
|
72 |
-
description = '<table style="border: collapse;"><tr><div style="height: 62px;"></div></tr><tr><p style="border-width: medium; border-color: #aa5e70; border-radius: 10px;padding-top: 1px;padding-left: 20px;background:#20212a;font-family:Courier New; color: white;font-size: 36px; font-weight: boldest;">'+result+'</p></tr><table>'
|
73 |
st.markdown(description, unsafe_allow_html=True)
|
74 |
with col1:
|
75 |
st.success("Tahmin başarıyla tamamlandı!")
|
|
|
69 |
with st.spinner('Wait for it...'):
|
70 |
processed_data = prepare_data(text, tokenizer)
|
71 |
result = make_prediction(yorum_model, processed_data=processed_data)
|
72 |
+
description = '<table style="border: collapse; padding-top: 1px;"><tr><div style="height: 62px;"></div></tr><tr><p style="border-width: medium; border-color: #aa5e70; border-radius: 10px;padding-top: 1px;padding-left: 20px;background:#20212a;font-family:Courier New; color: white;font-size: 36px; font-weight: boldest;">'+result+'</p></tr><table>'
|
73 |
st.markdown(description, unsafe_allow_html=True)
|
74 |
with col1:
|
75 |
st.success("Tahmin başarıyla tamamlandı!")
|