Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -970,8 +970,8 @@ def variable_outputs(file_inputs):
|
|
| 970 |
|
| 971 |
if isinstance(df_builder_pivot, pd.DataFrame):
|
| 972 |
logger.debug(f"df_builder_pivot: {df_builder_pivot}")
|
| 973 |
-
styled_df = df_builder_pivot.style.apply(highlight_stability, axis=1)
|
| 974 |
-
styled_html = styled_df.render()
|
| 975 |
|
| 976 |
|
| 977 |
|
|
@@ -988,16 +988,16 @@ def variable_outputs(file_inputs):
|
|
| 988 |
+ "<br> Note: Even if Trust Buckets® for Customers and Prospects overlap, the most effective statements are very different. This provides clear guidance for acquisition versus loyalty activities.",
|
| 989 |
visible=True,
|
| 990 |
)
|
| 991 |
-
table_builder_2 = gr.HTML(styled_html)
|
| 992 |
-
|
| 993 |
-
|
| 994 |
-
|
| 995 |
-
|
| 996 |
-
|
| 997 |
-
|
| 998 |
-
|
| 999 |
-
|
| 1000 |
-
|
| 1001 |
|
| 1002 |
plots_visible.append(markdown_5)
|
| 1003 |
plots_visible.append(markdown_6)
|
|
|
|
| 970 |
|
| 971 |
if isinstance(df_builder_pivot, pd.DataFrame):
|
| 972 |
logger.debug(f"df_builder_pivot: {df_builder_pivot}")
|
| 973 |
+
#styled_df = df_builder_pivot.style.apply(highlight_stability, axis=1)
|
| 974 |
+
#styled_html = styled_df.render()
|
| 975 |
|
| 976 |
|
| 977 |
|
|
|
|
| 988 |
+ "<br> Note: Even if Trust Buckets® for Customers and Prospects overlap, the most effective statements are very different. This provides clear guidance for acquisition versus loyalty activities.",
|
| 989 |
visible=True,
|
| 990 |
)
|
| 991 |
+
#table_builder_2 = gr.HTML(styled_html)
|
| 992 |
+
table_builder_2 = gr.Dataframe(
|
| 993 |
+
value=df_builder_pivot,
|
| 994 |
+
headers=list(df_builder_pivot.columns),
|
| 995 |
+
interactive=False,
|
| 996 |
+
label=f"{dataset_name}",
|
| 997 |
+
visible=True,
|
| 998 |
+
height=800,
|
| 999 |
+
wrap=True,
|
| 1000 |
+
)
|
| 1001 |
|
| 1002 |
plots_visible.append(markdown_5)
|
| 1003 |
plots_visible.append(markdown_6)
|