Spaces:
Sleeping
Sleeping
Update app.py
Browse files1677 unmodified lines16781679168016811682168380 unmodified lines17641765176617671768176917701677 unmodified linesUpdates the dataset selection based on the radio button input."""global selected_dataset_aiif selection == "VW Customers":selected_dataset_ai = vw_customers_state.value[0] # Use the customer datasetelif selection == "VW Prospects":80 unmodified lines# Define the radio button componentradio = gr.Radio(choices=["VW Customers", "VW Prospects"],label="Select a dataset for TrustMaximiserAI",visible=True,)1677 unmodified lines16781679168016811682168316841685168680 unmodified lines17671768176917701771177217731677 unmodified linesUpdates the dataset selection based on the radio button input."""global selected_dataset_aivw_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 datasetelif selection == "VW Prospects":80 unmodified lines# Define the radio button componentradio = gr.Radio(choices=["VW Customers", "VW Prospects"],label="Select a dataset for TrustifierAI",visible=True,)
app.py+4-1