Spaces:
Sleeping
Sleeping
BertChristiaens
commited on
Commit
•
cbc9e9a
1
Parent(s):
1cdf8e3
refactor
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ def make_editing_canvas(canvas_color, brush, _reset_state, generation_mode, pain
|
|
231 |
positive_prompt=st.session_state['positive_prompt'],
|
232 |
negative_prompt=st.session_state['negative_prompt'],
|
233 |
seed=random.randint(0, 100000) # nosec
|
234 |
-
)
|
235 |
if isinstance(result_image, np.ndarray):
|
236 |
result_image = Image.fromarray(result_image)
|
237 |
st.session_state['output_image'] = result_image
|
|
|
231 |
positive_prompt=st.session_state['positive_prompt'],
|
232 |
negative_prompt=st.session_state['negative_prompt'],
|
233 |
seed=random.randint(0, 100000) # nosec
|
234 |
+
)
|
235 |
if isinstance(result_image, np.ndarray):
|
236 |
result_image = Image.fromarray(result_image)
|
237 |
st.session_state['output_image'] = result_image
|