Update st_runner.py

This commit is contained in:
op07n 2020-01-21 07:56:22 +01:00 提交者 GitHub
父節點 3ab93a57fe
當前提交 b064e23f23
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增1 行删除

查看文件

@ -22,7 +22,8 @@ for basename in os.listdir(folder):
# Make a UI to run different files.
def format_func(s):
return s.split("/")[-1].split(".")[0]
els = s.split("/")[-1].split(".")[0].split("_")
return " ".join(el for el in els).capitalize()
fname_to_run = st.sidebar.selectbox(