georgekutty george commited on
Commit
22177c2
·
1 Parent(s): b970bda
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,9 +7,8 @@ from huggingface_hub import login
7
 
8
  # 3. Login to Hugging Face (replace YOUR_HF_TOKEN with your actual token)
9
 
10
- hf_token = os.environ.get("HF_TOKEN")
11
 
12
- login(token=hf_token)
13
 
14
  # 4. Load private model using your token
15
  model_id = "Lookingsoft-team/Text_to_Image_Diffusion"
 
7
 
8
  # 3. Login to Hugging Face (replace YOUR_HF_TOKEN with your actual token)
9
 
 
10
 
11
+ login(token=os.getenv("HF_TOKEN"))
12
 
13
  # 4. Load private model using your token
14
  model_id = "Lookingsoft-team/Text_to_Image_Diffusion"