Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ generator = torch.Generator("cuda").manual_seed(0)
|
|
23 |
|
24 |
def infer(prompt, init_image):
|
25 |
init_image = Image.open(init_image).convert("RGB")
|
26 |
-
init_image = init_image.resize((
|
27 |
|
28 |
|
29 |
res = pipe.train(
|
|
|
23 |
|
24 |
def infer(prompt, init_image):
|
25 |
init_image = Image.open(init_image).convert("RGB")
|
26 |
+
init_image = init_image.resize((512, 512))
|
27 |
|
28 |
|
29 |
res = pipe.train(
|