Update app.py
Browse files
app.py
CHANGED
@@ -252,9 +252,9 @@ with st.sidebar:
|
|
252 |
top_similar_count = st.number_input("Top Similarities to be Displayed", value=3, min_value=1, step=1, format="%i")
|
253 |
|
254 |
|
255 |
-
|
256 |
|
257 |
-
with
|
258 |
run_streamlit = st.button('Check for Infringement')
|
259 |
|
260 |
|
@@ -373,7 +373,7 @@ def update():
|
|
373 |
st.rerun()
|
374 |
|
375 |
if "update" not in st.session_state:
|
376 |
-
with
|
377 |
update_button = st.button("Update Database",type="primary")
|
378 |
if update_button:
|
379 |
update()
|
|
|
252 |
top_similar_count = st.number_input("Top Similarities to be Displayed", value=3, min_value=1, step=1, format="%i")
|
253 |
|
254 |
|
255 |
+
col1_main,col2_main = st.columns([7,3])
|
256 |
|
257 |
+
with col1_main:
|
258 |
run_streamlit = st.button('Check for Infringement')
|
259 |
|
260 |
|
|
|
373 |
st.rerun()
|
374 |
|
375 |
if "update" not in st.session_state:
|
376 |
+
with col2_main:
|
377 |
update_button = st.button("Update Database",type="primary")
|
378 |
if update_button:
|
379 |
update()
|