MaxReimann
commited on
Commit
β’
df56a47
1
Parent(s):
338a1a7
Update 3_π§_Predict_Portrait_xDoG.py
Browse files
pages/3_π§_Predict_Portrait_xDoG.py
CHANGED
@@ -32,6 +32,7 @@ from local_ppn.options.test_options import TestOptions
|
|
32 |
from local_ppn.models import create_model
|
33 |
|
34 |
|
|
|
35 |
|
36 |
class CustomOpts(TestOptions):
|
37 |
|
@@ -191,4 +192,4 @@ if sel_img:
|
|
191 |
out_img = ToPILImage()(output.squeeze(0))
|
192 |
output = out_img.resize((320,320), resample=Image.BICUBIC)
|
193 |
with coll1:
|
194 |
-
st.image(output)
|
|
|
32 |
from local_ppn.models import create_model
|
33 |
|
34 |
|
35 |
+
print(st.session_state["user"], " opened xDoG edits")
|
36 |
|
37 |
class CustomOpts(TestOptions):
|
38 |
|
|
|
192 |
out_img = ToPILImage()(output.squeeze(0))
|
193 |
output = out_img.resize((320,320), resample=Image.BICUBIC)
|
194 |
with coll1:
|
195 |
+
st.image(output)
|