>>460
Change the assistant's iconの下とdisplay_messages()の上に以下のように入れればとりあえずアイコン大きくできそうだけど、
Hugging Faceのアカウントとってprem-chat-uiのdiscussionに投げといたらいいのかな。
そのうちStreamlit側でちゃんとレイアウトいじれる機能が入るみたいな情報あったけど現状は強引に書き換えるしかなさそう。

***** app.py
assistant_avatar_uploader")

st.header("Change the icon size")
st.session_state.avatar_size = st.slider("icon size", min_value=2.0, max_value=20.0, value=2.0, step=0.2)

***** APP.PY.ORG
assistant_avatar_uploader")
*****
***** app.py
# Change icon size
# (CSS element names may be subject to change.)
AVATAR_SIZE_STYLE = f"""
<style>
.st-emotion-cache-p4micv {{
width: {st.session_state.avatar_size}rem;
height: {st.session_state.avatar_size}rem;
}}
</style>
"""
st.markdown(AVATAR_SIZE_STYLE, unsafe_allow_html=True)

display_messages()
***** APP.PY.ORG
display_messages()
*****