Verathagnus commited on
Commit
19997a4
·
verified ·
1 Parent(s): b7cb591

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -306,11 +306,11 @@ School of Computer Science, UPES, Dehradun, India
306
  """
307
  components.html(footer)
308
  # Handling query parameters
309
- query = st.query_params()
310
  try:
311
  ## Look-up the tab from the query
312
  if "tab" in query:
313
- index_tab = query["tab"][0]
314
  ## Click on that tab
315
  js = f"""
316
  <script>
 
306
  """
307
  components.html(footer)
308
  # Handling query parameters
309
+ query = st.query_params
310
  try:
311
  ## Look-up the tab from the query
312
  if "tab" in query:
313
+ index_tab = query["tab"]
314
  ## Click on that tab
315
  js = f"""
316
  <script>