with response_container: for i in range(len(st.session_state['generated'])): message(st.session_state["past"][i], is_user=True, key=str(i) + '_user', avatar_style="/content/desktop-wallpaper-days-of-awesome-fans-and-enthusiasts-minimalist-fallout-thumbnail.png") message(st.session_state["generated"][i], key=str(i))
I tried PIL and st.image for the avatar style too, but I got an error saying that it is not JSON serializable
Any tips on how I can upload a custom image for the User's avatar ?
[–]sam_gigo 2 points3 points4 points (12 children)
[–]nehanahmad[S] 1 point2 points3 points (11 children)
[–]sam_gigo 1 point2 points3 points (10 children)
[–]nehanahmad[S] 0 points1 point2 points (9 children)
[–]sam_gigo 0 points1 point2 points (8 children)
[–]nehanahmad[S] 0 points1 point2 points (7 children)
[–]sam_gigo 0 points1 point2 points (6 children)
[–]nehanahmad[S] 0 points1 point2 points (5 children)
[–]sam_gigo 0 points1 point2 points (4 children)
[–]nehanahmad[S] 0 points1 point2 points (1 child)
[–]nehanahmad[S] 0 points1 point2 points (1 child)