Spaces:
Sleeping
Sleeping
Gainward777
commited on
Commit
•
e2d7ac8
1
Parent(s):
5ed5eda
Update ui/gradio_ui.py
Browse files- ui/gradio_ui.py +1 -1
ui/gradio_ui.py
CHANGED
@@ -7,7 +7,7 @@ import numpy as np
|
|
7 |
|
8 |
def get_img_from_sketchpad(img):
|
9 |
#global SER_SKETCH
|
10 |
-
return ImageOps.invert(Image.fromarray((img["composite"])))#,'L')
|
11 |
|
12 |
#def set_ser_sketch(img):
|
13 |
#global SER_SKETCH
|
|
|
7 |
|
8 |
def get_img_from_sketchpad(img):
|
9 |
#global SER_SKETCH
|
10 |
+
return Image.fromarray(img["composite"]) #ImageOps.invert(Image.fromarray((img["composite"])))#,'L')
|
11 |
|
12 |
#def set_ser_sketch(img):
|
13 |
#global SER_SKETCH
|