Chakshu123 commited on
Commit
fe4350f
1 Parent(s): fc1cf7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def colorize(img: Dict[str, Image.Image], guide_img: Image.Image, seed: int, hin
60
  if hint_mode == "Roughly Hint":
61
  hint_mode_int = 0
62
  elif hint_mode == "Precisely Hint":
63
- hint_mode_int = 1
64
 
65
  guide_img = guide_img.convert('L')
66
  hint_img = img["mask"].convert('RGBA') # I modified gradio to enable it upload colorful mask
 
60
  if hint_mode == "Roughly Hint":
61
  hint_mode_int = 0
62
  elif hint_mode == "Precisely Hint":
63
+ hint_mode_int = 0
64
 
65
  guide_img = guide_img.convert('L')
66
  hint_img = img["mask"].convert('RGBA') # I modified gradio to enable it upload colorful mask