import streamlit as st import base64 def render_background_img(background_img_path, image_type = "jpg"): ''' A function to unpack an image from root folder and set as bg. Returns ------- The background. ''' # set bg name main_bg_ext = image_type st.markdown( f""" """, unsafe_allow_html=True ) ####### CSS for the CHAT UI css = ''' ''' bot_template = '''
''' user_template = ''' '''