Spaces:
Runtime error
Runtime error
new outstate feature
Browse files
app.py
CHANGED
|
@@ -29,12 +29,12 @@ in_state = {
|
|
| 29 |
]
|
| 30 |
}
|
| 31 |
|
| 32 |
-
out_state = streamlit_sweethome3d(state = in_state)
|
| 33 |
|
| 34 |
col1, col2 = st.columns(2)
|
| 35 |
with col1:
|
| 36 |
st.text('in state')
|
| 37 |
-
st.code(json.dumps(in_state, indent=
|
| 38 |
with col2:
|
| 39 |
st.text('out state')
|
| 40 |
-
st.code(out_state)
|
|
|
|
| 29 |
]
|
| 30 |
}
|
| 31 |
|
| 32 |
+
out_state = streamlit_sweethome3d(state = in_state, out_state=True)
|
| 33 |
|
| 34 |
col1, col2 = st.columns(2)
|
| 35 |
with col1:
|
| 36 |
st.text('in state')
|
| 37 |
+
st.code(json.dumps(in_state, indent=1))
|
| 38 |
with col2:
|
| 39 |
st.text('out state')
|
| 40 |
+
st.code(json.dumps(out_state, indent=1))
|