Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ def prepare(text):
|
|
36 |
text = re.sub(r'<[^>]*>', '', text)
|
37 |
return text
|
38 |
|
39 |
-
path_to_model = "ifmain/blip-image2promt-stable-diffusion"
|
40 |
|
41 |
processor = BlipProcessor.from_pretrained(path_to_model)
|
42 |
model = BlipForConditionalGeneration.from_pretrained(path_to_model, torch_dtype=torch.float16).to("cuda")
|
|
|
36 |
text = re.sub(r'<[^>]*>', '', text)
|
37 |
return text
|
38 |
|
39 |
+
path_to_model = "ifmain/blip-image2promt-stable-diffusion-base"
|
40 |
|
41 |
processor = BlipProcessor.from_pretrained(path_to_model)
|
42 |
model = BlipForConditionalGeneration.from_pretrained(path_to_model, torch_dtype=torch.float16).to("cuda")
|