ailm commited on
Commit
8574cae
·
verified ·
1 Parent(s): 569d7b1

Update styleTransfer.py

Browse files
Files changed (1) hide show
  1. styleTransfer.py +1 -1
styleTransfer.py CHANGED
@@ -11,7 +11,7 @@ import spaces
11
  from dataTransform import load_image
12
  from vggModel import VGGNet
13
 
14
- @spaces.GPU
15
  def style_transfer(content_img, style_img, total_steps, alpha=1e5, beta=1e10, learning_rate=0.001):
16
  # Preprocess the input images
17
 
 
11
  from dataTransform import load_image
12
  from vggModel import VGGNet
13
 
14
+ @spaces.GPU(duration = 500)
15
  def style_transfer(content_img, style_img, total_steps, alpha=1e5, beta=1e10, learning_rate=0.001):
16
  # Preprocess the input images
17