markytools commited on
Commit
4f68df1
·
1 Parent(s): fceabc7

locked password

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,6 +17,7 @@ import pprint
17
  defaultGoogleURL = "https://www.google.com/search?q=google+earnings"
18
  OPEN_ROUTER_KEY = st.secrets["OPEN_ROUTER_KEY"]
19
  OPEN_ROUTER_MODEL = "meta-llama/llama-3.1-70b-instruct:free"
 
20
 
21
  def pretty_print_columns(text):
22
  """
@@ -30,7 +31,6 @@ def pretty_print_columns(text):
30
  """
31
  return " ".join([line.strip() for line in text.splitlines() if line.strip()])
32
 
33
- isPswdValid = True
34
  try:
35
  pswdVal = st.experimental_get_query_params()['pwd'][0]
36
  if pswdVal==st.secrets["PSWD"]:
 
17
  defaultGoogleURL = "https://www.google.com/search?q=google+earnings"
18
  OPEN_ROUTER_KEY = st.secrets["OPEN_ROUTER_KEY"]
19
  OPEN_ROUTER_MODEL = "meta-llama/llama-3.1-70b-instruct:free"
20
+ isPswdValid = True # Set to True to temporarily disable password checking
21
 
22
  def pretty_print_columns(text):
23
  """
 
31
  """
32
  return " ".join([line.strip() for line in text.splitlines() if line.strip()])
33
 
 
34
  try:
35
  pswdVal = st.experimental_get_query_params()['pwd'][0]
36
  if pswdVal==st.secrets["PSWD"]: