garvitcpp commited on
Commit
f12bc52
·
verified ·
1 Parent(s): 553c006

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,7 +128,7 @@ def main():
128
 
129
  def health_check():
130
  """Simple health check endpoint that returns JSON"""
131
- params = st.experimental_get_query_params()
132
  if 'health' in params and params['health'][0] == 'true':
133
  st.write('{"status": "OK"}')
134
  st.cache_data.clear() # Clear cache to ensure fresh state
 
128
 
129
  def health_check():
130
  """Simple health check endpoint that returns JSON"""
131
+ params = params = st.query_params
132
  if 'health' in params and params['health'][0] == 'true':
133
  st.write('{"status": "OK"}')
134
  st.cache_data.clear() # Clear cache to ensure fresh state