Fabrice-TIERCELIN commited on
Commit
9c0cae9
β€’
1 Parent(s): 4557f86

Configure for ZERO space

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
21
 
22
  max_64_bit_int = 2**63 - 1
23
 
 
24
  def sample(
25
  image: Image,
26
  seed: Optional[int] = 42,
 
21
 
22
  max_64_bit_int = 2**63 - 1
23
 
24
+ @spaces.GPU(duration=250)
25
  def sample(
26
  image: Image,
27
  seed: Optional[int] = 42,