Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -567,6 +567,8 @@ def analyze_excel_single(file_path):
|
|
| 567 |
f"Loyalty Drivers: {file_name}",
|
| 568 |
"Loyalty",
|
| 569 |
)
|
|
|
|
|
|
|
| 570 |
|
| 571 |
# plot consideration
|
| 572 |
img_consideration = None
|
|
@@ -592,6 +594,8 @@ def analyze_excel_single(file_path):
|
|
| 592 |
f"Consideration Drivers: {file_name}",
|
| 593 |
"Consideration",
|
| 594 |
)
|
|
|
|
|
|
|
| 595 |
|
| 596 |
# plot satisfaction
|
| 597 |
img_satisfaction = None
|
|
@@ -617,6 +621,8 @@ def analyze_excel_single(file_path):
|
|
| 617 |
f"Satisfaction Drivers: {file_name}",
|
| 618 |
"Satisfaction",
|
| 619 |
)
|
|
|
|
|
|
|
| 620 |
|
| 621 |
# plot trust builder table 1 and 2
|
| 622 |
df_builder_pivot = None
|
|
|
|
| 567 |
f"Loyalty Drivers: {file_name}",
|
| 568 |
"Loyalty",
|
| 569 |
)
|
| 570 |
+
else:
|
| 571 |
+
print("data is not present")
|
| 572 |
|
| 573 |
# plot consideration
|
| 574 |
img_consideration = None
|
|
|
|
| 594 |
f"Consideration Drivers: {file_name}",
|
| 595 |
"Consideration",
|
| 596 |
)
|
| 597 |
+
else:
|
| 598 |
+
print("data not present")
|
| 599 |
|
| 600 |
# plot satisfaction
|
| 601 |
img_satisfaction = None
|
|
|
|
| 621 |
f"Satisfaction Drivers: {file_name}",
|
| 622 |
"Satisfaction",
|
| 623 |
)
|
| 624 |
+
else:
|
| 625 |
+
print("data not present")
|
| 626 |
|
| 627 |
# plot trust builder table 1 and 2
|
| 628 |
df_builder_pivot = None
|