import streamlit as st def display_sidebar(): with st.sidebar: openai_api_key = st.text_input("請輸入OpenAI API金鑰: ", type="password") st.markdown("[獲取OpenAi API金鑰](https://platform.openai.com/account/api-key)") return openai_api_key def remove_button(): # Add custom CSS to hide the GitHub icon st.markdown( r""" """, unsafe_allow_html=True )