Spaces:
Runtime error
Runtime error
Commit ·
b054e3b
1
Parent(s): dce7d1f
example
Browse filesFiles changed (3)
- .gitattributes+1
- app.py+11-9
- content/output_3.pngAdded
49 unmodified lines5051525349 unmodified linescontent/keep[[:space:]]background[[:space:]]2.png filter=lfs diff=lfs merge=lfs -textcontent/output_2.png filter=lfs diff=lfs merge=lfs -textcontent/example_3.jpg filter=lfs diff=lfs merge=lfs -textcontent/output_3.png filter=lfs diff=lfs merge=lfs -text28 unmodified lines29303132333435363738394041310 unmodified lines35235335434834935035135235335435535635535635735835936036128 unmodified lines if 'output_image' in st.session_state: del st.session_state['output_image']
def make_image_row(image_0, image_1): col_0, col_1 = st.columns(2) with col_0: st.image(image_0, use_column_width=True) with col_1: st.image(image_1, use_column_width=True)
def check_reset_state() -> bool: """Check whether the UI elements need to be reset310 unmodified lines move_image('example_image_3', 'initial_image', remove_state=True, rerun=True) st.write("## Generated examples") col_ex_0, col_ex_1 = st.columns(2) with col_ex_0: st.image(Image.open("content/output_1.png"), caption="Generated example, regenerating certain objects in the room", use_column_width=True) st.image(Image.open("content/regen_example.png"), caption="Generated example, regenerating certain objects in the room", use_column_width=True) st.image(Image.open("content/keep background 2.png"), caption="Generated example, regenerating certain objects in the room", use_column_width=True) with col_ex_1: st.image(Image.open("content/output_0.png"), caption="Generated example, regenerating certain objects in the room", use_column_width=True) st.image(Image.open("content/segmentation window.png"), caption="Generated example, regenerating certain objects in the room", use_column_width=True) 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()
.gitattributes+1
app.py+11-9
content/output_3.pngAdded

Large File Pointer Details
- SHA256: b34370873441ee8eb48179d5358243054f74f5b2a233e058de55f04c59b7052a
- Pointer size: 132 Bytes
- Size of remote file: 2.29 MB