broadfield-dev commited on
Commit
04f66e9
·
verified ·
1 Parent(s): dd901bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -23,11 +23,11 @@ HF_TOKEN = ""
23
  # raise ValueError("HF_TOKEN not set. Add it in Space settings.")
24
 
25
  # Log in to Hugging Face Hub with the token
26
- try:
27
- login(token="")
28
- logger.info("Successfully logged in to Hugging Face Hub")
29
- except Exception as e:
30
- raise ValueError(f"Failed to log in to Hugging Face Hub: {str(e)}")
31
 
32
  hf_api = HfApi()
33
 
 
23
  # raise ValueError("HF_TOKEN not set. Add it in Space settings.")
24
 
25
  # Log in to Hugging Face Hub with the token
26
+ #try:
27
+ #login(token="")
28
+ #logger.info("Successfully logged in to Hugging Face Hub")
29
+ #except Exception as e:
30
+ # raise ValueError(f"Failed to log in to Hugging Face Hub: {str(e)}")
31
 
32
  hf_api = HfApi()
33