# 顯示 Conda 環境(如果存在) __conda_env() { if [[ -n "$CONDA_DEFAULT_ENV" ]]; then echo "($CONDA_DEFAULT_ENV) " fi } # 顯示 Git branch(如果在 git repo 中) __git_branch() { branch=$(git symbolic-ref --short HEAD 2>/dev/null) [ -n "$branch" ] && echo "[$branch] " } # 設定 Prompt PROMPT_COMMAND=' PS1="\[\e[33m\]$(__conda_env)\[\e[34m\]\w \[\e[35m\]$(__git_branch)\[\e[0m\]\\$ " ---------------------------------------------------------- st.markdown(""" """, unsafe_allow_html=True) st.markdown("### 📋 預測結果") for idx, prediction in enumerate(predictions, 1): st.markdown(f'
{idx}. {prediction}
', unsafe_allow_html=True) AIzaSyC4VP_SrqZXSb-5G6kTFZXJpyy2e