Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2080,12 +2080,7 @@ with gr.Blocks(js=js_func) as demo:
|
|
| 2080 |
inputs=[vw_prospects_state],
|
| 2081 |
outputs= outputs,
|
| 2082 |
)
|
| 2083 |
-
|
| 2084 |
-
fn=highlight_button, # Highlight this button
|
| 2085 |
-
inputs=[], # Pass the button name (optional, could also be omitted)
|
| 2086 |
-
outputs=vw_customers_btn, # Update only this button
|
| 2087 |
-
)
|
| 2088 |
-
|
| 2089 |
radio.change(fn=update_ai_dataset_selection, inputs=radio, outputs=[])
|
| 2090 |
demo.load(
|
| 2091 |
fn=display_trust_score_1,
|
|
@@ -2097,13 +2092,6 @@ with gr.Blocks(js=js_func) as demo:
|
|
| 2097 |
inputs=[vw_customers_state],
|
| 2098 |
outputs=outputs
|
| 2099 |
)
|
| 2100 |
-
demo.load(
|
| 2101 |
-
fn=highlight_button,
|
| 2102 |
-
inputs=[], # Highlight VW Owners by default
|
| 2103 |
-
outputs=vw_customers_btn
|
| 2104 |
-
)
|
| 2105 |
-
|
| 2106 |
-
|
| 2107 |
|
| 2108 |
# Launch the Gradio app
|
| 2109 |
try:
|
|
|
|
| 2080 |
inputs=[vw_prospects_state],
|
| 2081 |
outputs= outputs,
|
| 2082 |
)
|
| 2083 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2084 |
radio.change(fn=update_ai_dataset_selection, inputs=radio, outputs=[])
|
| 2085 |
demo.load(
|
| 2086 |
fn=display_trust_score_1,
|
|
|
|
| 2092 |
inputs=[vw_customers_state],
|
| 2093 |
outputs=outputs
|
| 2094 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2095 |
|
| 2096 |
# Launch the Gradio app
|
| 2097 |
try:
|