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
feat: Added all files for Fashion Trends Prediction app #560
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: eliasecchig <115624100+eliasecchig@users.noreply.github.com> Co-authored-by: Thu Ya Kyaw <thuyakyaw@google.com> Co-authored-by: yadavj2008 <105886306+yadavj2008@users.noreply.github.com> Co-authored-by: anantnawal <67642890+anantnawal@users.noreply.github.com> Co-authored-by: Tom <tompakeman@google.com> Co-authored-by: QuantumMartin <31007551+quantumcode-martin@users.noreply.github.com> Co-authored-by: Arindam Banerjee <59955214+arindam-b@users.noreply.github.com> Co-authored-by: Megha Agarwal <agarwal22megha@gmail.com> Co-authored-by: Kristopher Overholt <koverholt@google.com> Co-authored-by: Patrick Marlow <kmaphoenix@gmail.com> Co-authored-by: Patrick Marlow <pmarlow@google.com> Co-authored-by: Kristopher Overholt <koverholt@gmail.com> Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com> Co-authored-by: Ikko Eltociear Ashimine <eltociear@gmail.com> Co-authored-by: Holt Skinner <holtskinner@google.com> Co-authored-by: Gábor Bakos <aborg0@users.noreply.github.com> Co-authored-by: rachael-ds <45947385+rachael-ds@users.noreply.github.com> Co-authored-by: Rajesh Thallam <rthallam@google.com> Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com> Co-authored-by: Ivan Nardini <88703814+inardini@users.noreply.github.com> Co-authored-by: Romin Irani <1614870+rominirani@users.noreply.github.com> Co-authored-by: Averi Kitsch <akitsch@google.com> Co-authored-by: Leszek <24715532+uhcel@users.noreply.github.com> Co-authored-by: Kaz Sato <kazunori279@gmail.com> Co-authored-by: Katie McLaughlin <katie@glasnt.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erwin Huizenga <111493729+erwinh85@users.noreply.github.com> Co-authored-by: guruvittal <147344888+guruvittal@users.noreply.github.com> Co-authored-by: Ashley Xu <139821907+ashleyxuu@users.noreply.github.com> Co-authored-by: Megan O'Keefe <3137106+askmeegs@users.noreply.github.com> Co-authored-by: Chris Hanna <christopher.g.hanna@gmail.com> Co-authored-by: atta-goog <136734735+atta-goog@users.noreply.github.com> Co-authored-by: smitha-google <102045161+smitha-google@users.noreply.github.com> Co-authored-by: Gabe Rives-Corbett <395660+grivescorbett@users.noreply.github.com> Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com> Co-authored-by: rocky lubbers <rocky.lubbers@gmail.com> Co-authored-by: Riccardo Carlesso <palladiusbonton@gmail.com> Co-authored-by: Pratimamishra-SSK <127853827+Pratimamishra-SSK@users.noreply.github.com> Co-authored-by: ronanmandel <ronanmandel@gmail.com> Co-authored-by: Boris-Wilfried <5323628+bwnyasse@users.noreply.github.com> Co-authored-by: Brenden Durham <bdurham.ai@gmail.com> Co-authored-by: Kara Greenfield <151587423+kgreenfield2@users.noreply.github.com> Co-authored-by: Sumukha Kaparthi <sumukhakaparthi@users.noreply.github.com> Co-authored-by: Preston Holmes <preston@ptone.com> Co-authored-by: alan blount <alan@zeroasterisk.com> Co-authored-by: G. Hussain Chinoy <ghchinoy@gmail.com> Co-authored-by: Hussain Chinoy <ghchinoy@google.com> Co-authored-by: Roy Arsan <roy.arsan@gmail.com> Co-authored-by: Kavitha Rajendran <karajendran@google.com> Co-authored-by: Eric Dong <itseric@google.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com> Co-authored-by: eliasecchig <115624100+eliasecchig@users.noreply.github.com> Co-authored-by: yadavj2008 <105886306+yadavj2008@users.noreply.github.com> Co-authored-by: anantnawal <67642890+anantnawal@users.noreply.github.com> Co-authored-by: Tom <tompakeman@google.com> Co-authored-by: QuantumMartin <31007551+quantumcode-martin@users.noreply.github.com> Co-authored-by: Arindam Banerjee <59955214+arindam-b@users.noreply.github.com> Co-authored-by: Megha Agarwal <agarwal22megha@gmail.com> Co-authored-by: Kristopher Overholt <koverholt@google.com> Co-authored-by: Patrick Marlow <kmaphoenix@gmail.com> Co-authored-by: Patrick Marlow <pmarlow@google.com> Co-authored-by: Kristopher Overholt <koverholt@gmail.com> Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com> Co-authored-by: Ikko Eltociear Ashimine <eltociear@gmail.com> Co-authored-by: Holt Skinner <holtskinner@google.com> Co-authored-by: Gábor Bakos <aborg0@users.noreply.github.com> Co-authored-by: rachael-ds <45947385+rachael-ds@users.noreply.github.com> Co-authored-by: Rajesh Thallam <rthallam@google.com> Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com> Co-authored-by: Ivan Nardini <88703814+inardini@users.noreply.github.com> Co-authored-by: Romin Irani <1614870+rominirani@users.noreply.github.com> Co-authored-by: Averi Kitsch <akitsch@google.com> Co-authored-by: Leszek <24715532+uhcel@users.noreply.github.com> Co-authored-by: Kaz Sato <kazunori279@gmail.com> Co-authored-by: Katie McLaughlin <katie@glasnt.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erwin Huizenga <111493729+erwinh85@users.noreply.github.com> Co-authored-by: guruvittal <147344888+guruvittal@users.noreply.github.com> Co-authored-by: Ashley Xu <139821907+ashleyxuu@users.noreply.github.com> Co-authored-by: Megan O'Keefe <3137106+askmeegs@users.noreply.github.com> Co-authored-by: Chris Hanna <christopher.g.hanna@gmail.com> Co-authored-by: atta-goog <136734735+atta-goog@users.noreply.github.com> Co-authored-by: smitha-google <102045161+smitha-google@users.noreply.github.com> Co-authored-by: Gabe Rives-Corbett <395660+grivescorbett@users.noreply.github.com> Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com> Co-authored-by: rocky lubbers <rocky.lubbers@gmail.com> Co-authored-by: Riccardo Carlesso <palladiusbonton@gmail.com> Co-authored-by: Pratimamishra-SSK <127853827+Pratimamishra-SSK@users.noreply.github.com> Co-authored-by: ronanmandel <ronanmandel@gmail.com> Co-authored-by: Boris-Wilfried <5323628+bwnyasse@users.noreply.github.com> Co-authored-by: Brenden Durham <bdurham.ai@gmail.com> Co-authored-by: Kara Greenfield <151587423+kgreenfield2@users.noreply.github.com> Co-authored-by: Sumukha Kaparthi <sumukhakaparthi@users.noreply.github.com> Co-authored-by: Preston Holmes <preston@ptone.com> Co-authored-by: alan blount <alan@zeroasterisk.com> Co-authored-by: G. Hussain Chinoy <ghchinoy@gmail.com> Co-authored-by: Hussain Chinoy <ghchinoy@google.com> Co-authored-by: Roy Arsan <roy.arsan@gmail.com> Co-authored-by: Kavitha Rajendran <karajendran@google.com> Co-authored-by: Eric Dong <itseric@google.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments for specifics. In general, it seems like there is a lot of code in this app that could be simplified/cleaned up to make it more readable and simple. I'd recommend looking through to see what can be refactored/reduced.
gemini/sample-apps/fashion-trends-prediction/app/data/chunks_local.json
Outdated
Show resolved
Hide resolved
gemini/sample-apps/fashion-trends-prediction/app/data_prep/create_new_data.py
Outdated
Show resolved
Hide resolved
gemini/sample-apps/fashion-trends-prediction/app/data_prep/dataProcessing.py
Outdated
Show resolved
Hide resolved
gemini/sample-apps/fashion-trends-prediction/app/pages/0_ Trend Prediction.py
Outdated
Show resolved
Hide resolved
gemini/sample-apps/fashion-trends-prediction/app/pages/0_ Trend Prediction.py
Outdated
Show resolved
Hide resolved
gemini/sample-apps/fashion-trends-prediction/app/pages/1_Additional Tools.py
Outdated
Show resolved
Hide resolved
gemini/sample-apps/fashion-trends-prediction/app/pages/2_ ● Fashion Bot.py
Outdated
Show resolved
Hide resolved
gemini/sample-apps/fashion-trends-prediction/app/utils_standalone_image_gen.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
…ive-ai into pr/devikamittal19/560
# pylint: disable=R0913 | ||
# pylint: disable=R0914 | ||
# pylint: disable=R0912 | ||
# pylint: disable=W0212 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to have all of these disabled? The issues should really be addressed.
@@ -291,21 +283,21 @@ def btn_pressed_callback(i_index: int) -> None: | |||
|
|||
if country == "India": | |||
st.write("#### Relevant Articles") | |||
none_found = True | |||
NONE_FOUND = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use all caps for a variable value.
Description
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
CONTRIBUTING
Guide.CODEOWNERS
for the file(s).nox -s format
from the repository root to format).Fixes #<issue_number_goes_here> 🦕