oldfart commited on
Commit
5ad2b02
·
1 Parent(s): 3caf208

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def loadModel(n):
38
  return super_res
39
 
40
  # on removing (show_spinner=False), it will show that fuction is running on web app
41
- @st.experimental_memo(show_spinner=False)
42
  def upscale(file,task,_progressBar = None):
43
  with open(file.name, "wb") as f:
44
  f.write(file.getbuffer())
 
38
  return super_res
39
 
40
  # on removing (show_spinner=False), it will show that fuction is running on web app
41
+ @st.experimental_memo(show_spinner=True)
42
  def upscale(file,task,_progressBar = None):
43
  with open(file.name, "wb") as f:
44
  f.write(file.getbuffer())