Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ args = parse_args()
|
|
17 |
|
18 |
model = MoMA_main_modal(args).to(device, dtype=torch.float16)
|
19 |
|
20 |
-
@spaces.GPU(duration=
|
21 |
def inference(rgb, subject, prompt, strength, seed):
|
22 |
global model
|
23 |
seed = int(seed) if seed else 0
|
|
|
17 |
|
18 |
model = MoMA_main_modal(args).to(device, dtype=torch.float16)
|
19 |
|
20 |
+
@spaces.GPU(duration=200)
|
21 |
def inference(rgb, subject, prompt, strength, seed):
|
22 |
global model
|
23 |
seed = int(seed) if seed else 0
|