BillyAggarwal commited on
Commit
6d723d9
·
verified ·
1 Parent(s): 049c713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def preprocess(img):
62
  arr = np.expand_dims(np.array(img) / 255.0, axis=0).astype(np.float32)
63
  return tf.convert_to_tensor(arr)
64
 
65
- def style_transfer(content, style, steps=50):
66
  content_tensor = preprocess(content)
67
  style_tensor = preprocess(style)
68
 
 
62
  arr = np.expand_dims(np.array(img) / 255.0, axis=0).astype(np.float32)
63
  return tf.convert_to_tensor(arr)
64
 
65
+ def style_transfer(content, style, steps=1500):
66
  content_tensor = preprocess(content)
67
  style_tensor = preprocess(style)
68