Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ device = "GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"
|
|
21 |
if torch.cuda.is_available():
|
22 |
pipe = pipe.to("cuda")
|
23 |
|
24 |
-
@spaces.GPU(duration=
|
25 |
def pix2pix(
|
26 |
input_image: Image.Image,
|
27 |
instruction: str,
|
|
|
21 |
if torch.cuda.is_available():
|
22 |
pipe = pipe.to("cuda")
|
23 |
|
24 |
+
@spaces.GPU(duration=120)
|
25 |
def pix2pix(
|
26 |
input_image: Image.Image,
|
27 |
instruction: str,
|