Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ textile_designs = ['woven texture', 'embroidery', 'printed fabric', 'hand-dyed',
|
|
29 |
HUGGING_FACE_TOKEN = os.getenv("HUGGING_FACE_TOKEN")
|
30 |
|
31 |
# Authenticate using the token
|
32 |
-
login(
|
33 |
if not hf_token:
|
34 |
raise ValueError("Hugging Face token is not set in the environment variables.")
|
35 |
login(token=hf_token)
|
|
|
29 |
HUGGING_FACE_TOKEN = os.getenv("HUGGING_FACE_TOKEN")
|
30 |
|
31 |
# Authenticate using the token
|
32 |
+
login(token ="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")
|
33 |
if not hf_token:
|
34 |
raise ValueError("Hugging Face token is not set in the environment variables.")
|
35 |
login(token=hf_token)
|