Fiqa commited on
Commit
19bc041
·
verified ·
1 Parent(s): 8a7739d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -30,9 +30,6 @@ HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
30
 
31
  # Authenticate using the token
32
  login(token =HUGGINGFACE_TOKEN)
33
- if not hf_token:
34
- raise ValueError("Hugging Face token is not set in the environment variables.")
35
- login(token=hf_token)
36
 
37
 
38
 
 
30
 
31
  # Authenticate using the token
32
  login(token =HUGGINGFACE_TOKEN)
 
 
 
33
 
34
 
35