import os # Init with fake key if 'OPENAI_API_KEY' not in os.environ: os.environ['OPENAI_API_KEY'] = 'none' import pandas as pd import streamlit as st from IPython.core.display import HTML from PIL import Image from chemcrow.agents import ChemCrow, make_tools from chemcrow.frontend.streamlit_callback_handler import \ StreamlitCallbackHandlerChem from dotenv import load_dotenv load_dotenv() ss = st.session_state icon = Image.open('assets/logo0.png') st.set_page_config( page_title="ChemCrow", page_icon = icon ) # Set width of sidebar st.markdown( """