muhammadzain commited on
Commit
753aec8
·
1 Parent(s): f2ce9a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def loadModel(n):
24
  return super_res
25
 
26
  # on removing (show_spinner=False), it will show that fuction is running on web app
27
- @st.cache_data(show_spinner=False)
28
  def upscale(file,task):
29
  with open(file.name, "wb") as f:
30
  f.write(file.getbuffer())
 
24
  return super_res
25
 
26
  # on removing (show_spinner=False), it will show that fuction is running on web app
27
+ @st.experimental_memo(show_spinner=False)
28
  def upscale(file,task):
29
  with open(file.name, "wb") as f:
30
  f.write(file.getbuffer())