pritish commited on
Commit
89239ba
1 Parent(s): 1c5a87f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
6
  from model import get_caption_model, generate_caption
7
 
8
 
9
- @st.cache_resource()
10
  def get_model():
11
  return get_caption_model()
12
 
 
6
  from model import get_caption_model, generate_caption
7
 
8
 
9
+ @st.cache(allow_output_mutation=True)
10
  def get_model():
11
  return get_caption_model()
12