Update app.py
Browse files
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 |
|