Update app.py
Browse files
app.py
CHANGED
@@ -329,22 +329,10 @@ elif page== "π Tabular Data":
|
|
329 |
top_factors = "\n".join([f"- {feat}: {round(value, 2)} impact" for feat, value in top_features])
|
330 |
|
331 |
# β
Login to HuggingChat (credentials hard-coded here)
|
332 |
-
|
333 |
-
|
334 |
-
PASSWD = st.secrets["passwd"]
|
335 |
-
st.write(f"Email: {st.secrets['email']}")
|
336 |
-
st.write(f"Password: {PASSWD}")
|
337 |
-
st.write(f"Password length: {len(st.secrets['passwd'])}")
|
338 |
-
|
339 |
-
|
340 |
-
# π Define the path for the coockies
|
341 |
-
import shutil
|
342 |
-
|
343 |
cookie_path_dir = "./cookies_snapshot"
|
344 |
-
|
345 |
-
os.makedirs(cookie_path_dir, exist_ok=True) # Cria novamente
|
346 |
-
|
347 |
-
|
348 |
# Log in and save cookies
|
349 |
try:
|
350 |
sign = Login(EMAIL, PASSWD)
|
|
|
329 |
top_factors = "\n".join([f"- {feat}: {round(value, 2)} impact" for feat, value in top_features])
|
330 |
|
331 |
# β
Login to HuggingChat (credentials hard-coded here)
|
332 |
+
EMAIL = "jp.pimenta@campus.fct.unl.pt"
|
333 |
+
PASSWD = "(?4sFqVaaV5Q3N*)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
cookie_path_dir = "./cookies_snapshot"
|
335 |
+
|
|
|
|
|
|
|
336 |
# Log in and save cookies
|
337 |
try:
|
338 |
sign = Login(EMAIL, PASSWD)
|