Spaces:
Sleeping
Sleeping
Commit History
-
feat: Add new breed choices to adoptable friends finder
This commit adds two new breed choices, "미니푸들" and "꼬똥", to the adoptable_friends_finder function in app.py. These new choices include their respective breed codes, "000078" and "000037", and are now available for users to select from the dropdown menu when searching for adoptable pets by breed.9d8e547 -
feat:add kindCD
0c63fe9 -
feat(app): increase number of rows to 1000 in animal fetch request
This commit updates the `numOfRows` parameter in the `fetch_animals()` function in `app.py` to increase the number of rows returned from 200 to 1000. This will allow for more animals to be fetched in a single request, improving the performance of the application. The change was made in response to user feedback requesting more results per page.f2e0da8
-
feat(app): Increase number of rows fetched in animal search API
This commit updates the number of rows fetched in the animal search API from 100 to 200 by modifying the numOfRows parameter in the API request. Additionally, the state parameter passed to the fetch_animals function is now being accessed with index 1, as it is expected to be a tuple.df97b1b -
feat: Add feature to select state in AdoptableFriendsFinder code
This commit adds a new feature to the AdoptableFriendsFinder code, allowing users to select the state of adoptable animals they want to find. The state can be either "protect" or "notice", which determines whether the animals are currently in a shelter or are up for adoption. The new feature is implemented by adding a new parameter to the `fetch_animals()` function and updating the `adoptable_friends_finder()` function to pass this parameter to the API. The user interface is also updated to include a radio button to select the state.f41bc08
-
chore: Simplify breed choice labels
This commit simplifies the breed choice labels in the Gradio interface by removing the breed code from the label and only displaying the breed name. The breed code is still passed as the value of each choice. This change improves the user experience by making the interface easier to understand and use.5c0c784 -
feat: Add support for filtering by breed
This commit adds support for filtering the results by breed. The "fetch_animals" function has been updated to take an additional parameter "breed_choice" which is used to filter the results by the selected breed. The "adoptable_friends_finder" function has been updated to pass the selected breed code to "fetch_animals". The Gradio interface has been updated to include a "Radio" component for selecting the breed. The changes also include handling errors when fetching the data and returning an error message to the user.c145c87 -
feat: Add support for fetching API key from environment variable
This commit adds support for fetching the API key from the environment variable "abandonmentPublicSrvcKey" instead of taking input from the user. This simplifies the user experience and improves security by not requiring the user to enter their key directly. The changes include importing the "os" module and updating the "adoptable_friends_finder" function to fetch the API key from the environment variable. The input component for the key has been removed from the Gradio interface and the description has been updated to reflect the change.6bea717 -
feat: add clickable image links and remove Desertion No in AdoptableFriendsFinder
Make the 'Image' field in the results clickable, opening the image in a new window Remove the 'Desertion No' field from the results Refactor code for readability and optimization4973d86 -
initial commit
Park8bf9eb0