Wajahat698 commited on
Commit
e5beab9
·
verified ·
1 Parent(s): 9fcb0cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +63 -63
app.py CHANGED
@@ -1136,70 +1136,70 @@ def variable_outputs(file_inputs):
1136
  dataset_name = file_inputs_single[row].split("/")[-1]
1137
 
1138
  plots = [
1139
- gr.Markdown(
1140
- "<span style='font-size:20px; font-weight:bold;'>2) Trust Profile</span>",
1141
- visible=True,
1142
- ),
1143
- gr.Markdown(
1144
- "<div style='font-size:16px;'>This analysis shows you how strongly you are trusted in each of the Six Buckets of Trust®. You can also see this for any competitor.</div>",
1145
- visible=True,
1146
- ),
1147
- gr.Image(
1148
- value=img_bucketfull,
1149
- type="pil",
1150
- label="Trust Profile",
1151
- visible=True,
1152
- ),
1153
- gr.Markdown(
1154
- "<span style='font-size:20px; font-weight:bold;'>3) Trust and KPI Drivers</span>",
1155
- visible=True,
1156
- ),
1157
- gr.Markdown(
1158
- """
1159
- <div style='font-size:16px;'>
1160
- This analysis highlights which Trust Buckets® are most effective in improving NPS and building trust.
1161
- <br><br>
1162
- The baseline impact for each driver is <b>16.7%</b> (100% divided across 6 Trust Buckets®). Any percentage above this average indicates higher significance,
1163
- meaning these Trust Buckets® require more attention. To maximise their potential, focus on “filling” them with the right attributes and tailored messaging.
1164
- </div>
1165
- """,
1166
- visible=True,
1167
- ),
1168
-
1169
-
1170
- gr.Image(
1171
- value=img_trust,
1172
- type="pil",
1173
- label="Trust Drivers",
1174
- visible=True,
1175
- ),
1176
- gr.Image(
1177
- value=img_nps,
1178
- type="pil",
1179
- label="NPS Drivers",
1180
- visible=True,
1181
- ),
1182
 
1183
- gr.Image(
1184
- value=img_loyalty,
1185
- type="pil",
1186
- visible=True,
1187
- ),
1188
- gr.Image(
1189
- value=img_consideration,
1190
- type="pil",
1191
- visible=True,
1192
- ),
1193
- gr.Image(
1194
- value=img_satisfaction,
1195
- type="pil",
1196
- visible=True,
1197
- ),
1198
- gr.Textbox(
1199
- value=output_text,
1200
- visible=False,
1201
- ),
1202
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1203
 
1204
 
1205
  if isinstance(df_builder_pivot, pd.DataFrame):
 
1136
  dataset_name = file_inputs_single[row].split("/")[-1]
1137
 
1138
  plots = [
1139
+ gr.Markdown(
1140
+ "<span style='font-size:20px; font-weight:bold;'>2) Trust Profile</span>",
1141
+ visible=True,
1142
+ ),
1143
+ gr.Markdown(
1144
+ "<div style='font-size:16px;'>This analysis shows you how strongly you are trusted in each of the Six Buckets of Trust®. You can also see this for any competitor.</div>",
1145
+ visible=True,
1146
+ ),
1147
+ gr.Image(
1148
+ value=img_bucketfull,
1149
+ type="pil",
1150
+ label="Trust Profile",
1151
+ visible=True,
1152
+ ),
1153
+ gr.Markdown(
1154
+ "<span style='font-size:20px; font-weight:bold;'>3) Trust and KPI Drivers</span>",
1155
+ visible=True,
1156
+ ),
1157
+ gr.Markdown(
1158
+ """
1159
+ <div style='font-size:16px;'>
1160
+ This analysis highlights which Trust Buckets® are most effective in improving NPS and building trust.
1161
+ <br><br>
1162
+ The baseline impact for each driver is <b>16.7%</b> (100% divided across 6 Trust Buckets®). Any percentage above this average indicates higher significance,
1163
+ meaning these Trust Buckets® require more attention. To maximise their potential, focus on “filling” them with the right attributes and tailored messaging.
1164
+ </div>
1165
+ """,
1166
+ visible=True,
1167
+ ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1168
 
1169
+
1170
+ gr.Image(
1171
+ value=img_trust,
1172
+ type="pil",
1173
+ label="Trust Drivers",
1174
+ visible=True,
1175
+ ),
1176
+ gr.Image(
1177
+ value=img_nps,
1178
+ type="pil",
1179
+ label="NPS Drivers",
1180
+ visible=True,
1181
+ ),
1182
+
1183
+ gr.Image(
1184
+ value=img_loyalty,
1185
+ type="pil",
1186
+ visible=True,
1187
+ ),
1188
+ gr.Image(
1189
+ value=img_consideration,
1190
+ type="pil",
1191
+ visible=True,
1192
+ ),
1193
+ gr.Image(
1194
+ value=img_satisfaction,
1195
+ type="pil",
1196
+ visible=True,
1197
+ ),
1198
+ gr.Textbox(
1199
+ value=output_text,
1200
+ visible=False,
1201
+ ),
1202
+ ]
1203
 
1204
 
1205
  if isinstance(df_builder_pivot, pd.DataFrame):