Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2082,7 +2082,7 @@ with gr.Blocks(js=js_func) as demo:
|
|
| 2082 |
)
|
| 2083 |
vw_customers_btn.click(
|
| 2084 |
fn=highlight_button, # Highlight this button
|
| 2085 |
-
inputs=[
|
| 2086 |
outputs=vw_customers_btn, # Update only this button
|
| 2087 |
)
|
| 2088 |
|
|
@@ -2099,7 +2099,7 @@ with gr.Blocks(js=js_func) as demo:
|
|
| 2099 |
)
|
| 2100 |
demo.load(
|
| 2101 |
fn=highlight_button,
|
| 2102 |
-
inputs=[
|
| 2103 |
outputs=vw_customers_btn
|
| 2104 |
)
|
| 2105 |
|
|
|
|
| 2082 |
)
|
| 2083 |
vw_customers_btn.click(
|
| 2084 |
fn=highlight_button, # Highlight this button
|
| 2085 |
+
inputs=["VW Owners"]], # Pass the button name (optional, could also be omitted)
|
| 2086 |
outputs=vw_customers_btn, # Update only this button
|
| 2087 |
)
|
| 2088 |
|
|
|
|
| 2099 |
)
|
| 2100 |
demo.load(
|
| 2101 |
fn=highlight_button,
|
| 2102 |
+
inputs=["VW Owners"]], # Highlight VW Owners by default
|
| 2103 |
outputs=vw_customers_btn
|
| 2104 |
)
|
| 2105 |
|