Update README.md
Browse files
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
|
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")
|