Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ easy to search, filter</li>
|
|
| 29 |
|
| 30 |
""", unsafe_allow_html=True)
|
| 31 |
|
| 32 |
-
st.sidebar.markdown("<p style='text-align: right'>
|
| 33 |
|
| 34 |
#######################################################
|
| 35 |
####################### UI ############################
|
|
@@ -99,7 +99,7 @@ if persist_directory :
|
|
| 99 |
# https://docs.streamlit.io/library/api-reference/chat/st.chat_message
|
| 100 |
# https://discuss.streamlit.io/t/streamlit-chat-avatars-not-working-on-cloud/46713/2
|
| 101 |
# thumbs, adventurer, big-smile, micah, bottts
|
| 102 |
-
message(st.session_state["user_history"][i], is_user=True, key=str(i) + '_user', avatar_style="
|
| 103 |
# message(st.session_state["ai_history"][i], key=str(i), avatar_style="KaggleX.jpg")
|
| 104 |
message(st.session_state["ai_history"][i], key=str(i), avatar_style='bottts')
|
| 105 |
#st.chat_message(st.session_state["user_history"][i], is_user=True, key=str(i) + '_user', AvatarStyle="adventurer")
|
|
|
|
| 29 |
|
| 30 |
""", unsafe_allow_html=True)
|
| 31 |
|
| 32 |
+
st.sidebar.markdown("<p style='text-align: right'>Developed and maintained by <a href='https://entzyeung.github.io/portfolio/index.html'>Lorentz Yeung</a></p>", unsafe_allow_html=True)
|
| 33 |
|
| 34 |
#######################################################
|
| 35 |
####################### UI ############################
|
|
|
|
| 99 |
# https://docs.streamlit.io/library/api-reference/chat/st.chat_message
|
| 100 |
# https://discuss.streamlit.io/t/streamlit-chat-avatars-not-working-on-cloud/46713/2
|
| 101 |
# thumbs, adventurer, big-smile, micah, bottts
|
| 102 |
+
message(st.session_state["user_history"][i], is_user=True, key=str(i) + '_user', avatar_style="identicon")
|
| 103 |
# message(st.session_state["ai_history"][i], key=str(i), avatar_style="KaggleX.jpg")
|
| 104 |
message(st.session_state["ai_history"][i], key=str(i), avatar_style='bottts')
|
| 105 |
#st.chat_message(st.session_state["user_history"][i], is_user=True, key=str(i) + '_user', AvatarStyle="adventurer")
|