Ashoka74 commited on
Commit
36cabaf
·
verified ·
1 Parent(s): 0caecf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import argparse
2
  import random
3
 
@@ -47,7 +48,7 @@ transform_image = transforms.Compose(
47
  )
48
 
49
 
50
- # @spaces.GPU()
51
  def infer(
52
  prompt,
53
  image,
 
1
+ import spaces
2
  import argparse
3
  import random
4
 
 
48
  )
49
 
50
 
51
+ @spaces.GPU()
52
  def infer(
53
  prompt,
54
  image,