joaopimenta commited on
Commit
c49edc0
Β·
verified Β·
1 Parent(s): df8a74c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -15
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
- # πŸ“Œ Obter credenciais das Secrets
333
- EMAIL = st.secrets["email"]
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
- shutil.rmtree(cookie_path_dir, ignore_errors=True) # Remove a pasta e os cookies
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)