Fiqa commited on
Commit
3bf8f5f
·
verified ·
1 Parent(s): 48f2ad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,10 +26,10 @@ textile_designs = ['woven texture', 'embroidery', 'printed fabric', 'hand-dyed',
26
 
27
 
28
  # Get Hugging Face Token from environment variable
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)
 
26
 
27
 
28
  # Get Hugging Face Token from environment variable
29
+ HUGGING_FACE_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)