Wajahat698 commited on
Commit
56d24bb
·
verified ·
1 Parent(s): d2aaa92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1975,6 +1975,14 @@ function refresh() {
1975
  window.location.href = url.href;
1976
  }
1977
  }
 
 
 
 
 
 
 
 
1978
  """
1979
  with gr.Blocks(js=js_func) as demo:
1980
  with gr.Column():
 
1975
  window.location.href = url.href;
1976
  }
1977
  }
1978
+
1979
+ // Automatically click the "VW Customers" button on page load
1980
+ window.onload = function() {
1981
+ const vwCustomersBtn = document.querySelector("button:contains('VW Customers')");
1982
+ if (vwCustomersBtn) {
1983
+ vwCustomersBtn.click();
1984
+ }
1985
+ };
1986
  """
1987
  with gr.Blocks(js=js_func) as demo:
1988
  with gr.Column():