Spaces:
Sleeping
Sleeping
Commit
·
2cb3fe5
1
Parent(s):
57202e4
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,24 +63,29 @@ if 'flowmessages' not in st.session_state:
|
|
| 63 |
]
|
| 64 |
|
| 65 |
# Streamlit UI
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
|
| 86 |
# If the "Ask" button is clicked
|
|
|
|
| 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(
|
| 70 |
+
"""
|
| 71 |
+
<style>
|
| 72 |
+
.stTextInput {
|
| 73 |
+
border-radius: 10px;
|
| 74 |
+
padding: 12px;
|
| 75 |
+
margin-top: 10px;
|
| 76 |
+
margin-bottom: 20px;
|
| 77 |
+
box-shadow: 2px 2px 5px #888888;
|
| 78 |
+
border: 1px solid #dddddd;
|
| 79 |
+
font-size: 16px;
|
| 80 |
+
width: 300px;
|
| 81 |
+
/* Add any additional styling here */
|
| 82 |
+
}
|
| 83 |
+
</style>
|
| 84 |
+
""",
|
| 85 |
+
unsafe_allow_html=True
|
| 86 |
+
)
|
| 87 |
+
|
| 88 |
+
submit = st.button("Submit")
|
| 89 |
|
| 90 |
|
| 91 |
# If the "Ask" button is clicked
|