Update app.py
Browse files
app.py
CHANGED
@@ -127,9 +127,9 @@ def sketching_tab():
|
|
127 |
prefix = "sketch2img"
|
128 |
col1,col2 = st.columns(2)
|
129 |
with col1:
|
130 |
-
|
131 |
with col2:
|
132 |
-
if
|
133 |
controlnet_conditioning_scale = st.slider(
|
134 |
"Strength or dependence on the input sketch",
|
135 |
min_value=0.0,
|
@@ -141,7 +141,7 @@ def sketching_tab():
|
|
141 |
prompt_and_generate_button(
|
142 |
prefix,
|
143 |
"sketch2img",
|
144 |
-
|
145 |
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
146 |
)
|
147 |
|
|
|
127 |
prefix = "sketch2img"
|
128 |
col1,col2 = st.columns(2)
|
129 |
with col1:
|
130 |
+
image = sketching()
|
131 |
with col2:
|
132 |
+
if image:
|
133 |
controlnet_conditioning_scale = st.slider(
|
134 |
"Strength or dependence on the input sketch",
|
135 |
min_value=0.0,
|
|
|
141 |
prompt_and_generate_button(
|
142 |
prefix,
|
143 |
"sketch2img",
|
144 |
+
image=image,
|
145 |
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
146 |
)
|
147 |
|