Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -422,40 +422,13 @@ def main():
|
|
422 |
|
423 |
gender_options = ["", "Male", "Female"]
|
424 |
gender = st.selectbox("Gender", gender_options)
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
col1, col2 = st.columns(2)
|
431 |
-
|
432 |
-
with col1:
|
433 |
-
animal_type = st.selectbox(
|
434 |
-
"Animal Type",
|
435 |
-
["Dog", "Cat", "Rabbit", "Small & Furry", "Horse", "Bird", "Scales, Fins & Other", "Barnyard"]
|
436 |
-
)
|
437 |
-
|
438 |
-
location = st.text_input("Location (ZIP code or City, State)", "")
|
439 |
-
|
440 |
-
distance = st.slider("Distance (miles)", min_value=10, max_value=500, value=50, step=10)
|
441 |
|
442 |
-
|
443 |
-
age_options = ["", "Baby", "Young", "Adult", "Senior"]
|
444 |
-
age = st.selectbox("Age", age_options)
|
445 |
-
|
446 |
-
size_options = ["", "Small", "Medium", "Large", "XLarge"]
|
447 |
-
size = st.selectbox("Size", size_options)
|
448 |
-
|
449 |
-
gender_options = ["", "Male", "Female"]
|
450 |
-
gender = st.selectbox("Gender", gender_options)
|
451 |
-
good_with_children = st.checkbox("Good with children")
|
452 |
-
good_with_dogs = st.checkbox("Good with dogs")
|
453 |
-
good_with_cats = st.checkbox("Good with cats")
|
454 |
-
house_trained = st.checkbox("House-trained")
|
455 |
-
special_needs = st.checkbox("Special needs")
|
456 |
-
|
457 |
-
|
458 |
-
submitted = st.form_submit_button("Search")
|
459 |
|
460 |
if submitted:
|
461 |
# Build search parameters
|
|
|
422 |
|
423 |
gender_options = ["", "Male", "Female"]
|
424 |
gender = st.selectbox("Gender", gender_options)
|
425 |
+
good_with_children = st.checkbox("Good with children")
|
426 |
+
good_with_dogs = st.checkbox("Good with dogs")
|
427 |
+
good_with_cats = st.checkbox("Good with cats")
|
428 |
+
house_trained = st.checkbox("House-trained")
|
429 |
+
special_needs = st.checkbox("Special needs")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
|
431 |
+
submitted = st.form_submit_button("Search")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
|
433 |
if submitted:
|
434 |
# Build search parameters
|