zamborg commited on
Commit
2fd38cf
·
1 Parent(s): 7cc986f

nuclues size and stuff

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -138,7 +138,7 @@ def get_samples():
138
  def get_rand_idx(samples):
139
  return random.randint(0,len(samples)-1)
140
 
141
- @st.cache
142
  def create_objects():
143
  sample_images = get_samples()
144
  virtexModel = VirTexModel()
 
138
  def get_rand_idx(samples):
139
  return random.randint(0,len(samples)-1)
140
 
141
+ @st.cache(allow_output_mutation=True) # allow mutation to update nucleus size
142
  def create_objects():
143
  sample_images = get_samples()
144
  virtexModel = VirTexModel()