Spaces:
Running
on
Zero
Running
on
Zero
rlawjdghek
commited on
Commit
β’
644b248
1
Parent(s):
22eed09
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
import os
|
3 |
import sys
|
4 |
import time
|
@@ -87,7 +87,7 @@ def stable_viton_model_hd(
|
|
87 |
pil_output = Image.fromarray(output)
|
88 |
return pil_output
|
89 |
|
90 |
-
|
91 |
@torch.no_grad()
|
92 |
def process_hd(vton_img, garm_img, n_steps):
|
93 |
model_type = 'hd'
|
|
|
1 |
+
import spaces
|
2 |
import os
|
3 |
import sys
|
4 |
import time
|
|
|
87 |
pil_output = Image.fromarray(output)
|
88 |
return pil_output
|
89 |
|
90 |
+
@spaces.GPU # TODO: turn on when final upload
|
91 |
@torch.no_grad()
|
92 |
def process_hd(vton_img, garm_img, n_steps):
|
93 |
model_type = 'hd'
|