Chakshu123
commited on
Commit
•
d9946a2
1
Parent(s):
77a6843
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def resize_original(img: Image.Image):
|
|
55 |
return gr.Image.update(value=guide_img.convert('RGBA')), guide_img.convert('RGBA')
|
56 |
|
57 |
|
58 |
-
def colorize(img: Dict[str Image.Image], guide_img: Image.Image, seed: int, hint_mode: str):
|
59 |
if not isinstance(img, dict):
|
60 |
return gr.update(visible=True)
|
61 |
|
|
|
55 |
return gr.Image.update(value=guide_img.convert('RGBA')), guide_img.convert('RGBA')
|
56 |
|
57 |
|
58 |
+
def colorize(img: Dict[str, Image.Image], guide_img: Image.Image, seed: int, hint_mode: str):
|
59 |
if not isinstance(img, dict):
|
60 |
return gr.update(visible=True)
|
61 |
|