Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,11 @@ init_states()
|
|
16 |
st.session_state.board_width = 400
|
17 |
|
18 |
# Initialize the LLaMA 3.1 405B client
|
19 |
-
llama_client
|
|
|
|
|
|
|
|
|
20 |
|
21 |
# Initialize all session state variables
|
22 |
if 'player_color' not in st.session_state:
|
|
|
16 |
st.session_state.board_width = 400
|
17 |
|
18 |
# Initialize the LLaMA 3.1 405B client
|
19 |
+
if "llama_client" not in st.session_state:
|
20 |
+
llama_client = Client("xianbao/SambaNova-fast")
|
21 |
+
st.session_state.llama_client = llama_client
|
22 |
+
else:
|
23 |
+
llama_client = st.session_state.llama_client
|
24 |
|
25 |
# Initialize all session state variables
|
26 |
if 'player_color' not in st.session_state:
|