Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add slider to show more than 3 recommendations #2

Open
ericr491 opened this issue Aug 12, 2021 · 2 comments
Open

Add slider to show more than 3 recommendations #2

ericr491 opened this issue Aug 12, 2021 · 2 comments

Comments

@ericr491
Copy link
Collaborator

@Kyle-Pu
Copy link
Collaborator

Kyle-Pu commented Aug 12, 2021

Nvm just realized this is an issue haha

@Kyle-Pu
Copy link
Collaborator

Kyle-Pu commented Aug 12, 2021

Toggle numRecs from the function recFood in app.py. Right now it's just a default variable set to 3, can pass in slider value to the line with foodsToRec = rec_foods(lackingNutrient, [slider value here]) # Array of foods to recommend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants