Spaces:
Runtime error
Runtime error
Commit ·
d164609
1
Parent(s): 59ac37a
reverted back to experimental_get_query_params
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ OPEN_ROUTER_KEY = st.secrets["OPEN_ROUTER_KEY"] # st.secrets["OPEN_ROUTER_KEY"]
|
|
| 15 |
OPEN_ROUTER_MODEL = "meta-llama/llama-3.3-70b-instruct:free"
|
| 16 |
|
| 17 |
try:
|
| 18 |
-
pswdVal = st.
|
| 19 |
if pswdVal==st.secrets["PSWD"]:
|
| 20 |
isPswdValid = True
|
| 21 |
except:
|
|
|
|
| 15 |
OPEN_ROUTER_MODEL = "meta-llama/llama-3.3-70b-instruct:free"
|
| 16 |
|
| 17 |
try:
|
| 18 |
+
pswdVal = st.experimental_get_query_params()['pwd'][0]
|
| 19 |
if pswdVal==st.secrets["PSWD"]:
|
| 20 |
isPswdValid = True
|
| 21 |
except:
|