Max Reimann
commited on
Commit
·
8a59bca
1
Parent(s):
89dbdbc
fix mask for preset apply
Browse files
pages/1_🎨_Apply_preset.py
CHANGED
|
@@ -57,7 +57,7 @@ st.session_state["preset_canvas_key"] ="preset_canvas"
|
|
| 57 |
vp = torch.clone(st.session_state["result_vp"])
|
| 58 |
org_cuda = st.session_state["effect_input"]
|
| 59 |
|
| 60 |
-
@st.experimental_memo
|
| 61 |
def greyscale_original(_org_cuda, content_id): #content_id is used for hashing
|
| 62 |
if HUGGING_FACE:
|
| 63 |
wsize = 450
|
|
|
|
| 57 |
vp = torch.clone(st.session_state["result_vp"])
|
| 58 |
org_cuda = st.session_state["effect_input"]
|
| 59 |
|
| 60 |
+
# @st.experimental_memo
|
| 61 |
def greyscale_original(_org_cuda, content_id): #content_id is used for hashing
|
| 62 |
if HUGGING_FACE:
|
| 63 |
wsize = 450
|