mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 14:52:31 +03:00
Changed the search bar text_input widget to have a label as its not allowed to be empty on streamlit 1.13.0 and will give a warning and possible an error later.
This commit is contained in:
parent
b8b9df717a
commit
9c12a6a322
@ -155,7 +155,7 @@ def layout():
|
||||
st.session_state["cl_search_results_count"] = downloaded_concepts_count
|
||||
|
||||
# Search bar
|
||||
search_text_input = st.text_input("", "", placeholder=f'Search for a concept ({downloaded_concepts_count} available)')
|
||||
search_text_input = st.text_input("Search", "", placeholder=f'Search for a concept ({downloaded_concepts_count} available)')
|
||||
if search_text_input != st.session_state["cl_search_text"]:
|
||||
# Search text has changed
|
||||
st.session_state["cl_search_text"] = search_text_input
|
||||
|
Loading…
Reference in New Issue
Block a user