Spaces:
Sleeping
Sleeping
Update app.py
Browse files1049 unmodified lines10501051105210531053105410551056326 unmodified lines13831384138513861386138713881389229 unmodified lines161916201621162216231624162516261627162816291622162316241625133 unmodified lines175917601761176217631764176517661767176817691770177117721 unmodified line1774177517761776177717771778177917801781178117821783178417851785178617861787178817891049 unmodified lines summary_text = gr.Textbox(value=None, label="Analysis Summary", visible=False)
markdown_5 = gr.Markdown( "<span style='font-size:20px; font-weight:bold;'>3) Proof Points</span>", "<span style='font-size:20px; font-weight:bold;'>4)TrustBuilders®/span>", visible=True, ) markdown_6 = gr.Markdown(326 unmodified lines
try: # Load the selected dataset dataset_file_path = f"example_files/{selected_dataset_ai}.xlsx" dataset_file_path = f"example_files/{selected_dataset_ai}"
( img_bucketfull,229 unmodified lines return selected_dataset_ai
def create_trust_score_1(): gr.Markdown( "<span style='font-size:20px; font-weight:bold;'>1) Trust Score </span>", visible=True, ) gr.Markdown( "This analysis shows you the average Trust Score that is given to you by the respondents.", visible=True, ) score = 8 max_score = 10133 unmodified lines vw_prospects_btn = gr.Button("VW Prospects")
with gr.Row(): gr.Markdown( "<span style='font-size:20px; font-weight:bold;'>1) Trust Score </span>", visible=True, ) gr.Markdown( "This analysis shows you the average Trust Score that is given to you by the respondents.", visible=True, ) trust_score_output = gr.HTML()
with gr.Column():1 unmodified line outputs = reset_outputs()
# Create gr.State components to store file names as lists vw_customers_state = gr.State(value=["Volkswagen Customers"]) vw_prospects_state = gr.State(value=["Volkswagen Non Customers"]) vw_customers_state = gr.State(value=["Volkswagen Customers.xlsx"]) vw_prospects_state = gr.State(value=["Volkswagen Non Customers.xlsx"])
with gr.Column(): gr.Markdown( "<span style='font-size:20px; font-weight:bold;'>4) Try our TrustifierAI</span>", "<span style='font-size:20px; font-weight:bold;'>5) Try our Trustifier.AI®</span>", visible=True, ) gr.Markdown( "<b>Try our TrustifierAI.</b><br>" + "<b>Select</b> which dataset you want to use: (e.g., select 'Volkswagen Prospects' as the dataset)<br>", "<b>Select</b> which dataset you want to use: (e.g., select 'Volkswagen Prospects' as the dataset)<br>", visible=True, )
app.py+15-15