zhiweili
commited on
Commit
•
b56b210
1
Parent(s):
01a4b40
add gpu time
Browse files- app_base.py +1 -1
app_base.py
CHANGED
@@ -20,7 +20,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
20 |
def create_demo() -> gr.Blocks:
|
21 |
from inversion_run_base import run as base_run
|
22 |
|
23 |
-
@spaces.GPU(duration=
|
24 |
def image_to_image(
|
25 |
input_image: Image,
|
26 |
input_image_prompt: str,
|
|
|
20 |
def create_demo() -> gr.Blocks:
|
21 |
from inversion_run_base import run as base_run
|
22 |
|
23 |
+
@spaces.GPU(duration=15)
|
24 |
def image_to_image(
|
25 |
input_image: Image,
|
26 |
input_image_prompt: str,
|