Skip to content

Commit

Permalink
fix: normalize collection ID input by stripping whitespace and replac…
Browse files Browse the repository at this point in the history
…ing spaces with underscores
  • Loading branch information
Ovler-Young committed Nov 20, 2024
1 parent 07a23bc commit d4972b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ia_collection_analyzer/streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
col1, col2 = st.columns([6, 1], vertical_alignment="bottom")
with col1:
collection_id = st.text_input("Enter the collection ID:", "bilibili_videos")
collection_id = collection_id.strip().replace(" ", "_")
with col2:
conform_button = st.button("Conform")

Expand Down

0 comments on commit d4972b2

Please sign in to comment.