dogeplusplus commited on
Commit
b260443
·
1 Parent(s): 772b007

No caching.

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -9,7 +9,6 @@ def load_model():
9
  model = tf.keras.models.load_model("style/1")
10
  return model
11
 
12
- @st.cache(suppress_st_warning=True)
13
  def apply_style_transfer(model, content, style, resize=None):
14
  content = np.array(content, dtype=np.float32) / 255.
15
  style = np.array(style, dtype=np.float32) / 255.
 
9
  model = tf.keras.models.load_model("style/1")
10
  return model
11
 
 
12
  def apply_style_transfer(model, content, style, resize=None):
13
  content = np.array(content, dtype=np.float32) / 255.
14
  style = np.array(style, dtype=np.float32) / 255.