ifmain commited on
Commit
6f4446c
1 Parent(s): ca26771

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -31,7 +31,7 @@ def prepare(text):
31
  text = re.sub(r'<[^>]*>', '', text)
32
  return text
33
 
34
- path_to_model = "blip-image2promt-stable-diffusion-v0.15"
35
 
36
  processor = BlipProcessor.from_pretrained(path_to_model)
37
  model = BlipForConditionalGeneration.from_pretrained(path_to_model, torch_dtype=torch.float16).to("cuda")
 
31
  text = re.sub(r'<[^>]*>', '', text)
32
  return text
33
 
34
+ path_to_model = "ifmain/blip-image2promt-stable-diffusion"
35
 
36
  processor = BlipProcessor.from_pretrained(path_to_model)
37
  model = BlipForConditionalGeneration.from_pretrained(path_to_model, torch_dtype=torch.float16).to("cuda")