Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,9 @@ import time
|
|
11 |
# Import our GameState class
|
12 |
from gamestate import GameState
|
13 |
|
|
|
|
|
|
|
14 |
# --- Constants ---
|
15 |
SAVE_DIR = "saved_worlds"
|
16 |
PLOT_WIDTH = 50.0 # Width of each plot in 3D space
|
@@ -130,9 +133,6 @@ def get_game_state():
|
|
130 |
|
131 |
game_state = get_game_state()
|
132 |
|
133 |
-
# --- Page Config ---
|
134 |
-
st.set_page_config(page_title="Infinite World Builder", layout="wide")
|
135 |
-
|
136 |
# --- Session State Initialization ---
|
137 |
if 'selected_object' not in st.session_state:
|
138 |
st.session_state.selected_object = 'None'
|
|
|
11 |
# Import our GameState class
|
12 |
from gamestate import GameState
|
13 |
|
14 |
+
# --- Page Config ---
|
15 |
+
st.set_page_config(page_title="Infinite World Builder", layout="wide")
|
16 |
+
|
17 |
# --- Constants ---
|
18 |
SAVE_DIR = "saved_worlds"
|
19 |
PLOT_WIDTH = 50.0 # Width of each plot in 3D space
|
|
|
133 |
|
134 |
game_state = get_game_state()
|
135 |
|
|
|
|
|
|
|
136 |
# --- Session State Initialization ---
|
137 |
if 'selected_object' not in st.session_state:
|
138 |
st.session_state.selected_object = 'None'
|