arnikdehnavi commited on
Commit
ee9877e
1 Parent(s): 2ed3ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ r1=ml.patches.Rectangle((300,150),c1*60,60,angle=-a1,color=d1)
209
  ax.add_patch(r2)
210
  ax.add_patch(r1)
211
  ax.add_patch(r)
212
- @st.experimental_memo
213
  def im(_ax):
214
  img=ml.image.imread("bandar1.png")
215
  return ax.imshow(img)
 
209
  ax.add_patch(r2)
210
  ax.add_patch(r1)
211
  ax.add_patch(r)
212
+ @st.cache
213
  def im(_ax):
214
  img=ml.image.imread("bandar1.png")
215
  return ax.imshow(img)