Akjava commited on
Commit
34b4cda
·
1 Parent(s): 8bab392
Files changed (2) hide show
  1. app.py +1 -1
  2. upscale_image.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ if __name__ == "__main__":
18
  fn=gradio_upscale,
19
  inputs="image",
20
  outputs="image",
21
- title="Image Upscale",
22
  description="Upload an image to Upscale",
23
  )
24
  # インターフェースを公開
 
18
  fn=gradio_upscale,
19
  inputs="image",
20
  outputs="image",
21
+ title="Image Convert to 128x128 and Upscale to 512x512",
22
  description="Upload an image to Upscale",
23
  )
24
  # インターフェースを公開
upscale_image.py CHANGED
@@ -17,8 +17,8 @@ def execute(input_image):
17
  pipe.vae.enable_tiling()
18
  # 画像のパスとプロンプト
19
  prompt = "beautiful girl"
20
- first_resize_w = 0
21
- first_resize_h = 0
22
 
23
  # 画像の読み込みとリサイズ
24
  image = input_image#.convert("RGB")
 
17
  pipe.vae.enable_tiling()
18
  # 画像のパスとプロンプト
19
  prompt = "beautiful girl"
20
+ first_resize_w = 128
21
+ first_resize_h = 128
22
 
23
  # 画像の読み込みとリサイズ
24
  image = input_image#.convert("RGB")