Update st_runner.py
This commit is contained in:
parent
3ab93a57fe
commit
b064e23f23
|
@ -22,7 +22,8 @@ for basename in os.listdir(folder):
|
||||||
|
|
||||||
# Make a UI to run different files.
|
# Make a UI to run different files.
|
||||||
def format_func(s):
|
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(
|
fname_to_run = st.sidebar.selectbox(
|
||||||
|
|
Loading…
Reference in New Issue