Spaces:
Sleeping
Sleeping
Update app.py
Browse files1677 unmodified lines16781679168016811682168316841685168680 unmodified lines176717681769176717701771177217731677 unmodified lines Updates the dataset selection based on the radio button input. """ global selected_dataset_ai vw_customers_state = gr.State(value=["Volkswagen Customers.xlsx"]) vw_prospects_state = gr.State(value=["Volkswagen Non Customers.xlsx"])
if selection == "VW Customers": selected_dataset_ai = vw_customers_state.value[0] # Use the customer dataset elif selection == "VW Prospects":80 unmodified lines # Define the radio button component radio = gr.Radio( choices=["VW Customers", "VW Prospects"], label="Select a dataset for TrustMaximiserAI", label="Select a dataset for TrustifierAI", visible=True, )
app.py+4-1