Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import json
|
| 3 |
|
|
|
|
|
|
|
| 4 |
# Load furniture categories and attributes from a JSON file
|
| 5 |
def load_furniture_data():
|
| 6 |
with open('./config/furniture_taxonomy.json', 'r') as file:
|
|
@@ -71,7 +73,7 @@ def main_page(furniture_data):
|
|
| 71 |
|
| 72 |
# Main app logic
|
| 73 |
furniture_data = load_furniture_data()
|
| 74 |
-
|
| 75 |
if 'page' not in st.session_state:
|
| 76 |
st.session_state.page = 'main'
|
| 77 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import json
|
| 3 |
|
| 4 |
+
st.set_page_config(layout='wide')
|
| 5 |
+
|
| 6 |
# Load furniture categories and attributes from a JSON file
|
| 7 |
def load_furniture_data():
|
| 8 |
with open('./config/furniture_taxonomy.json', 'r') as file:
|
|
|
|
| 73 |
|
| 74 |
# Main app logic
|
| 75 |
furniture_data = load_furniture_data()
|
| 76 |
+
|
| 77 |
if 'page' not in st.session_state:
|
| 78 |
st.session_state.page = 'main'
|
| 79 |
|