amazonaws-sp commited on
Commit
83d6fc0
1 Parent(s): 71928b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def generate(
65
 
66
  response = requests.get(url)
67
  init_image = Image.open(BytesIO(response.content)).convert("RGB")
68
- init_image = init_image.resize((768, 512))
69
 
70
  if use_lora:
71
  pipe.load_lora_weights(lora)
 
65
 
66
  response = requests.get(url)
67
  init_image = Image.open(BytesIO(response.content)).convert("RGB")
68
+ init_image = init_image.resize((width, height))
69
 
70
  if use_lora:
71
  pipe.load_lora_weights(lora)