Update Era_s20_updt.py
Browse files- Era_s20_updt.py +1 -1
Era_s20_updt.py
CHANGED
@@ -286,7 +286,7 @@ class Styles_paintings():
|
|
286 |
#print('image shape there is',image.size)
|
287 |
self.output_styles_with_custom_loss = []
|
288 |
#ref_image = Image.open('C:/Users/shivs/Downloads/ig.jpg').resize((512,512))
|
289 |
-
ref_latent = pil_to_latent(
|
290 |
for seed,style_name in zip(self.seeds,self.style_names):
|
291 |
# Tokenize
|
292 |
prompt = f'{self.prompt} in the style of {style_name}'
|
|
|
286 |
#print('image shape there is',image.size)
|
287 |
self.output_styles_with_custom_loss = []
|
288 |
#ref_image = Image.open('C:/Users/shivs/Downloads/ig.jpg').resize((512,512))
|
289 |
+
ref_latent = pil_to_latent(image)
|
290 |
for seed,style_name in zip(self.seeds,self.style_names):
|
291 |
# Tokenize
|
292 |
prompt = f'{self.prompt} in the style of {style_name}'
|