Spaces:
Sleeping
Sleeping
Update app.py
Browse files734 unmodified lines735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765734 unmodified linesif img_nps is None:# Load the placeholder image if NPS analysis was not performed#img_nps = Image.open("./images/nps_not_available.png")#img_nps = img_nps.resize((1000, 800), Image.Resampling.LANCZOS)print("none")if img_loyalty is None:# Load the placeholder image if Loyalty analysis was not performed#img_loyalty = Image.open("./images/loyalty_not_available.png")#img_loyalty = img_loyalty.resize((1000, 800), Image.Resampling.LANCZOS)print("none")if img_consideration is None:# Load the placeholder image if Consideration analysis was not performed#img_consideration = Image.open("./images/consideration_not_available.png")#img_consideration = img_consideration.resize(# (1000, 800), Image.Resampling.LANCZOS#)print("none")if img_satisfaction is None:# Load the placeholder image if Satisfaction analysis was not performed#img_satisfaction = Image.open("./images/satisfaction_not_available.png")#img_satisfaction = img_satisfaction.resize(# (1000, 800), Image.Resampling.LANCZOS#)print("none")return (img_bucketfull,734 unmodified lines735736737738739740741742743744745746747748749750751752753754755756757758759760761762763734 unmodified linesif img_nps is None:# Load the placeholder image if NPS analysis was not performedimg_nps = Image.open("./images/nps_not_available.png")img_nps = img_nps.resize((1000, 800), Image.Resampling.LANCZOS)if img_loyalty is None:# Load the placeholder image if Loyalty analysis was not performedimg_loyalty = Image.open("./images/loyalty_not_available.png")img_loyalty = img_loyalty.resize((1000, 800), Image.Resampling.LANCZOS)if img_consideration is None:# Load the placeholder image if Consideration analysis was not performedimg_consideration = Image.open("./images/consideration_not_available.png")img_consideration = img_consideration.resize((1000, 800), Image.Resampling.LANCZOS)if img_satisfaction is None:# Load the placeholder image if Satisfaction analysis was not performedimg_satisfaction = Image.open("./images/satisfaction_not_available.png")img_satisfaction = img_satisfaction.resize((1000, 800), Image.Resampling.LANCZOS)return (img_bucketfull,
app.py+15-17