如何修改 streamlit 中的选择框列长度?

How can I modify the selectbox column length in streamlit?

我有以下代码:

import streamlit as st
import subprocess

git_output = subprocess.run(['git', 'branch', '-a'], cwd='/home/demo', capture_output=True, text=True).stdout

br_list = git_output.split('\n')

select = st.sidebar.selectbox('Option', list(filter(lambda k: 'remotes/origin' in k and '1v' in k, br_list)))

问题是 streamlit 复选框将字符限制为最多 34 个,而我在列表中的结果每个大约有 60 个。我怎样才能修改它,使选择框更长并显示整个字符串?

我找到了以下解决方案:

https://github.com/streamlit/streamlit/issues/2058#issuecomment-816989601