DiningSystem commited on
Commit
dcf615f
1 Parent(s): 0092ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import huggingface_hub as hf
5
  import os
6
  hf.login(token=os.environ['model_token'])
7
  #remember to login with token before loading model
8
- def text_to_hair(prompt, guidance_scale=8, num_inference_steps=30, model_path ="DiningSystem/hair-model1-4"):
9
 
10
  pipe = StableDiffusionPipeline.from_pretrained(os.environ['bmd4'], torch_dtype=torch.float16, use_auth_token=True)
11
  pipe.unet.load_attn_procs(model_path)
 
5
  import os
6
  hf.login(token=os.environ['model_token'])
7
  #remember to login with token before loading model
8
+ def text_to_hair(prompt, guidance_scale=8, num_inference_steps=30, model_path ="CVH-vn1210/hair-model"):
9
 
10
  pipe = StableDiffusionPipeline.from_pretrained(os.environ['bmd4'], torch_dtype=torch.float16, use_auth_token=True)
11
  pipe.unet.load_attn_procs(model_path)