mzimm003 commited on
Commit
74c4804
·
1 Parent(s): 6b699dd

Fix reset.

Browse files
Files changed (2) hide show
  1. __pycache__/chessmodels.cpython-38.pyc +0 -0
  2. app.py +1 -1
__pycache__/chessmodels.cpython-38.pyc ADDED
Binary file (4.59 kB). View file
 
app.py CHANGED
@@ -32,7 +32,7 @@ def information(play, t_p):
32
 
33
  def reset(t_p):
34
  t_p.reset()
35
- st.cache_resource.clear()
36
 
37
  def play(bot_select, t_p):
38
  if "play" not in st.session_state:
 
32
 
33
  def reset(t_p):
34
  t_p.reset()
35
+ del st.session_state["play"]
36
 
37
  def play(bot_select, t_p):
38
  if "play" not in st.session_state: