Update modules/ui.py
Browse files- modules/ui.py +15 -0
modules/ui.py
CHANGED
|
@@ -393,6 +393,21 @@ def display_discourse_analysis_interface(nlp_models, lang_code):
|
|
| 393 |
st.pyplot(graph2)
|
| 394 |
|
| 395 |
##################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
def display_chatbot_interface(lang_code):
|
| 397 |
translations = {
|
| 398 |
'es': {
|
|
|
|
| 393 |
st.pyplot(graph2)
|
| 394 |
|
| 395 |
##################################################################################################
|
| 396 |
+
st.markdown("""
|
| 397 |
+
<style>
|
| 398 |
+
.stTextInput > div > div > input {
|
| 399 |
+
background-color: #F0F2F6;
|
| 400 |
+
}
|
| 401 |
+
.stTextArea > div > div > textarea {
|
| 402 |
+
background-color: #F0F2F6;
|
| 403 |
+
border: none;
|
| 404 |
+
}
|
| 405 |
+
.stTextArea > div > div > textarea:disabled {
|
| 406 |
+
color: #000000;
|
| 407 |
+
}
|
| 408 |
+
</style>
|
| 409 |
+
""", unsafe_allow_html=True)
|
| 410 |
+
|
| 411 |
def display_chatbot_interface(lang_code):
|
| 412 |
translations = {
|
| 413 |
'es': {
|