A Streamlit app for stakeholders to view seasonality analysis for garments.
-
Connect this repository to Streamlit Cloud.
-
Configure GCP credentials in Streamlit Cloud secrets (see Deployment section below).
-
Deploy the app from Streamlit Cloud.
- Once the repo is linked, add a secret in Streamlit Cloud dashboard under Settings → Secrets:
[gcp_user_credentials]
type = "authorized_user"
client_id = "client-id.apps.googleusercontent.com"
client_secret = "client-secret"
refresh_token = "refresh-token"
quota_project_id = "rental-ds"To get these credentials, run cat ~/.config/gcloud/application_default_credentials.json after authenticating with gcloud auth application-default login. This secret allows for securely accessing season data saved in GCS.
- Deploy the app from Streamlit Cloud
- Enter a Choice ID in the text box
- View the model prediction, confidence, and actual season
- Expand "View Model Details" for score breakdowns
- See the order history chart with Prophet forecast
- View the product image
- Scores range from -1 to +1
- Positive → Warm Weather
- Negative → Cold Weather
- Near zero → No Season
- If the final score is between -0.4 and +0.4, it's classified as No Season
- Confidence is higher when both visual and order history models agree