Update tribunal_3.py
Browse files- tribunal_3.py +23 -2
tribunal_3.py
CHANGED
|
@@ -67,7 +67,21 @@ def initialize_session_state():
|
|
| 67 |
if 'token_capture' not in st.session_state:
|
| 68 |
st.session_state.token_capture = []
|
| 69 |
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
three_column_style = """
|
| 73 |
<style>
|
|
@@ -81,9 +95,16 @@ three_column_style = """
|
|
| 81 |
.chat-container {
|
| 82 |
height: calc(100vh - 200px);
|
| 83 |
overflow-y: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
</style>
|
| 86 |
-
"""
|
| 87 |
|
| 88 |
#-----
|
| 89 |
def get_active_model():
|
|
|
|
| 67 |
if 'token_capture' not in st.session_state:
|
| 68 |
st.session_state.token_capture = []
|
| 69 |
|
| 70 |
+
# three_column_style = """
|
| 71 |
+
# <style>
|
| 72 |
+
# .stColumn {
|
| 73 |
+
# padding: 0.5rem;
|
| 74 |
+
# border-right: 1px solid #dedede;
|
| 75 |
+
# }
|
| 76 |
+
# .stColumn:last-child {
|
| 77 |
+
# border-right: none;
|
| 78 |
+
# }
|
| 79 |
+
# .chat-container {
|
| 80 |
+
# height: calc(100vh - 200px);
|
| 81 |
+
# overflow-y: auto;
|
| 82 |
+
# }
|
| 83 |
+
# </style>
|
| 84 |
+
# """
|
| 85 |
|
| 86 |
three_column_style = """
|
| 87 |
<style>
|
|
|
|
| 95 |
.chat-container {
|
| 96 |
height: calc(100vh - 200px);
|
| 97 |
overflow-y: auto;
|
| 98 |
+
display: flex;
|
| 99 |
+
flex-direction: column;
|
| 100 |
+
}
|
| 101 |
+
.chat-messages {
|
| 102 |
+
display: flex;
|
| 103 |
+
flex-direction: column;
|
| 104 |
+
gap: 1rem;
|
| 105 |
}
|
| 106 |
</style>
|
| 107 |
+
""" # Alt Style
|
| 108 |
|
| 109 |
#-----
|
| 110 |
def get_active_model():
|