Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1038,9 +1038,9 @@ def reset_outputs():
|
|
| 1038 |
)
|
| 1039 |
markdown_4 = gr.Markdown(
|
| 1040 |
"""
|
| 1041 |
-
This analysis
|
| 1042 |
<br><br>
|
| 1043 |
-
The
|
| 1044 |
""",
|
| 1045 |
visible=True,
|
| 1046 |
)
|
|
@@ -1058,13 +1058,14 @@ def reset_outputs():
|
|
| 1058 |
visible=True,
|
| 1059 |
)
|
| 1060 |
markdown_6 = gr.Markdown(
|
| 1061 |
-
|
| 1062 |
-
|
| 1063 |
-
|
| 1064 |
-
|
| 1065 |
-
|
| 1066 |
)
|
| 1067 |
|
|
|
|
| 1068 |
df_builder_pivot = gr.Dataframe(value=None, label="", visible=True)
|
| 1069 |
|
| 1070 |
outputs.append(markdown_1)
|
|
@@ -1934,9 +1935,7 @@ def update_ai_dataset_selection(selection):
|
|
| 1934 |
return selected_dataset_ai
|
| 1935 |
|
| 1936 |
placeholder_text = """
|
| 1937 |
-
|
| 1938 |
-
Use the preset prompt or replace with your own prompt and click
|
| 1939 |
-
“Submit” button to get started.
|
| 1940 |
"""
|
| 1941 |
|
| 1942 |
predefined_prompt = """
|
|
@@ -2006,7 +2005,7 @@ with gr.Blocks(js=js_func) as demo:
|
|
| 2006 |
visible=True,
|
| 2007 |
)
|
| 2008 |
gr.Markdown(
|
| 2009 |
-
"This analysis shows you the average of the score across the six trust buckets.",
|
| 2010 |
visible=True,
|
| 2011 |
)
|
| 2012 |
trust_score_output = gr.HTML()
|
|
@@ -2021,23 +2020,12 @@ with gr.Blocks(js=js_func) as demo:
|
|
| 2021 |
|
| 2022 |
with gr.Column():
|
| 2023 |
gr.Markdown(
|
| 2024 |
-
"<span style='font-size:20px; font-weight:bold;'>5)
|
| 2025 |
visible=True,
|
| 2026 |
)
|
| 2027 |
gr.Markdown(
|
| 2028 |
"""
|
| 2029 |
-
|
| 2030 |
-
automatically use the top-scoring Trust Builders® of the top-scoring
|
| 2031 |
-
Trust Buckets®.<br>
|
| 2032 |
-
|
| 2033 |
-
<b>Option 1:</b> Use the preset prompt provided in the textbox below and
|
| 2034 |
-
click 'Submit’. Try it for Customers vs Prospects and see the
|
| 2035 |
-
difference.<br>
|
| 2036 |
-
|
| 2037 |
-
<b>Option 2:</b> Replace the preset prompt with your own and click
|
| 2038 |
-
'Submit’.<br>
|
| 2039 |
-
|
| 2040 |
-
You can add the output to the prompt to further customize it.
|
| 2041 |
""",
|
| 2042 |
visible=True,
|
| 2043 |
)
|
|
|
|
| 1038 |
)
|
| 1039 |
markdown_4 = gr.Markdown(
|
| 1040 |
"""
|
| 1041 |
+
This analysis shows which Trust Buckets® are most effective in building trust and improving your key performance indicators (KPIs).
|
| 1042 |
<br><br>
|
| 1043 |
+
The middle line is the average importance. The bars extending to the right show which Trust Buckets® are most important. The higher the percentage, the more important the Trust Bucket® is to your audience.
|
| 1044 |
""",
|
| 1045 |
visible=True,
|
| 1046 |
)
|
|
|
|
| 1058 |
visible=True,
|
| 1059 |
)
|
| 1060 |
markdown_6 = gr.Markdown(
|
| 1061 |
+
"These are the specific reasons to trust and recommend. They can be your brand values, features, attributes, programs, and messages. "
|
| 1062 |
+
+ "<br>For practical purposes, they tell you exactly what to do and say to build more trust and improve your KPIs. "
|
| 1063 |
+
+ "<br>In the table, use the little arrows to toggle by Trust Bucket® or Trust Builder® importance. "
|
| 1064 |
+
+ "<br>Tip: Compare Owners and Prospects. Even though some of the Trust Buckets® are the same, the Trust Builders® are very different.",
|
| 1065 |
+
visible=True,
|
| 1066 |
)
|
| 1067 |
|
| 1068 |
+
|
| 1069 |
df_builder_pivot = gr.Dataframe(value=None, label="", visible=True)
|
| 1070 |
|
| 1071 |
outputs.append(markdown_1)
|
|
|
|
| 1935 |
return selected_dataset_ai
|
| 1936 |
|
| 1937 |
placeholder_text = """
|
| 1938 |
+
Click ‘Submit’ below. The output will display here. You can then try your own prompts or play with refinements like tonality.
|
|
|
|
|
|
|
| 1939 |
"""
|
| 1940 |
|
| 1941 |
predefined_prompt = """
|
|
|
|
| 2005 |
visible=True,
|
| 2006 |
)
|
| 2007 |
gr.Markdown(
|
| 2008 |
+
"This analysis shows you the average of the score across the six trust buckets. Because respondents assess their trust more granular in each Trust Bucket®, the Trust Composite Score is more accurate than just asking for ‘Trust’.",
|
| 2009 |
visible=True,
|
| 2010 |
)
|
| 2011 |
trust_score_output = gr.HTML()
|
|
|
|
| 2020 |
|
| 2021 |
with gr.Column():
|
| 2022 |
gr.Markdown(
|
| 2023 |
+
"<span style='font-size:20px; font-weight:bold;'>5) Test-drive the results in the TrustA®</span>",
|
| 2024 |
visible=True,
|
| 2025 |
)
|
| 2026 |
gr.Markdown(
|
| 2027 |
"""
|
| 2028 |
+
We’ve simplified the process by pre-writing a sample prompt. In your TrustAnalyser, select any dataset to automatically integrate with TrustAI, ensuring the outputs leverage the most effective Trust Builders®.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2029 |
""",
|
| 2030 |
visible=True,
|
| 2031 |
)
|