Spaces:
Sleeping
Sleeping
Commit
·
abf715e
1
Parent(s):
7436d17
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ if 'flowmessages' not in st.session_state:
|
|
| 63 |
]
|
| 64 |
|
| 65 |
# Streamlit UI
|
| 66 |
-
input_question = st.text_input("Type here.", key="input"
|
| 67 |
|
| 68 |
# Apply custom HTML and CSS for styling
|
| 69 |
st.markdown(
|
|
@@ -80,6 +80,19 @@ st.markdown(
|
|
| 80 |
width: 700px;
|
| 81 |
/* Add any additional styling here */
|
| 82 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
</style>
|
| 84 |
""",
|
| 85 |
unsafe_allow_html=True
|
|
|
|
| 63 |
]
|
| 64 |
|
| 65 |
# Streamlit UI
|
| 66 |
+
input_question = st.text_input("Type here.", key="input")
|
| 67 |
|
| 68 |
# Apply custom HTML and CSS for styling
|
| 69 |
st.markdown(
|
|
|
|
| 80 |
width: 700px;
|
| 81 |
/* Add any additional styling here */
|
| 82 |
}
|
| 83 |
+
/* Hide the "press enter to apply" message */
|
| 84 |
+
.stTextInput::-webkit-input-placeholder {
|
| 85 |
+
color: transparent;
|
| 86 |
+
}
|
| 87 |
+
.stTextInput:-moz-placeholder {
|
| 88 |
+
color: transparent;
|
| 89 |
+
}
|
| 90 |
+
.stTextInput::-moz-placeholder {
|
| 91 |
+
color: transparent;
|
| 92 |
+
}
|
| 93 |
+
.stTextInput:-ms-input-placeholder {
|
| 94 |
+
color: transparent;
|
| 95 |
+
}
|
| 96 |
</style>
|
| 97 |
""",
|
| 98 |
unsafe_allow_html=True
|