Spaces:
Runtime error
Runtime error
Commit ·
b1dbf88
1
Parent(s): a27c870
renaming
Browse files352 unmodified lines353354355356357358359360361362363364352 unmodified linesst.image(st.session_state['example_image_3'], caption="Example image 4", use_column_width=True)if st.button("Use example 4"):move_image('example_image_3', 'initial_image', remove_state=True, rerun=True)with st.expander("Generated examples", expanded=True):st.write("## Generated examples")make_image_row(Image.open("content/output_1.png"), Image.open("content/regen_example.png"))make_image_row(Image.open("content/keep background 2.png"), Image.open("content/output_0.png"))make_image_row(Image.open("content/segmentation window.png"), Image.open("content/output_3.png"))else:make_prompt_row()352 unmodified lines353354355356357358359360361362363352 unmodified linesst.image(st.session_state['example_image_3'], caption="Example image 4", use_column_width=True)if st.button("Use example 4"):move_image('example_image_3', 'initial_image', remove_state=True, rerun=True)st.write("## Generated examples")make_image_row(Image.open("content/output_1.png"), Image.open("content/regen_example.png"))make_image_row(Image.open("content/keep background 2.png"), Image.open("content/output_0.png"))make_image_row(Image.open("content/segmentation window.png"), Image.open("content/output_3.png"))else:make_prompt_row()
app.py+5-6