arnaudmiribel / streamlit-extras

Discover, try, install and share Streamlit re-usable bits we call "extras"!
https://extras.streamlit.app
Apache License 2.0
727 stars 124 forks source link

✨ [IDEA] - Function explorer can take default arg values #124

Closed arnaudmiribel closed 1 month ago

arnaudmiribel commented 1 year ago

Description

In https://github.com/arnaudmiribel/streamlit-extras/blob/main/src/streamlit_extras/function_explorer/__init__.py#L30, it'd be nice to be able to pass default values for args, so that widgets actually work in the default state when using function_explorer

Minimal code for the extra

No response

Screenshots

No response