Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,6 +86,27 @@ MAX_TOKEN_LIMIT = 400
|
|
| 86 |
def main():
|
| 87 |
st.title("BinDocs Chat App")
|
| 88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
if "chat_history" not in st.session_state:
|
| 90 |
st.session_state['chat_history'] = []
|
| 91 |
|
|
|
|
| 86 |
def main():
|
| 87 |
st.title("BinDocs Chat App")
|
| 88 |
|
| 89 |
+
def main():
|
| 90 |
+
st.title("BinDocs Chat App")
|
| 91 |
+
|
| 92 |
+
# Step 1: Adding CSS for rounded boxes
|
| 93 |
+
st.markdown("""
|
| 94 |
+
<style>
|
| 95 |
+
.question-box {
|
| 96 |
+
border: 1px solid orange;
|
| 97 |
+
border-radius: 15px;
|
| 98 |
+
padding: 10px;
|
| 99 |
+
text-align: center;
|
| 100 |
+
cursor: pointer;
|
| 101 |
+
display: inline-block;
|
| 102 |
+
width: 45%;
|
| 103 |
+
margin: 2%;
|
| 104 |
+
}
|
| 105 |
+
</style>
|
| 106 |
+
""", unsafe_allow_html=True)
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
|
| 110 |
if "chat_history" not in st.session_state:
|
| 111 |
st.session_state['chat_history'] = []
|
| 112 |
|