Update run/gradio_ootd.py
Browse files- run/gradio_ootd.py +2 -2
run/gradio_ootd.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
from pathlib import Path
|
@@ -36,8 +38,6 @@ model_dc = os.path.join(example_path, 'model/model_8.png')
|
|
36 |
garment_dc = os.path.join(example_path, 'garment/048554_1.jpg')
|
37 |
|
38 |
|
39 |
-
import spaces
|
40 |
-
|
41 |
@spaces.GPU
|
42 |
def process_hd(vton_img, garm_img, n_samples, n_steps, image_scale, seed):
|
43 |
model_type = 'hd'
|
|
|
1 |
+
import spaces
|
2 |
+
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
from pathlib import Path
|
|
|
38 |
garment_dc = os.path.join(example_path, 'garment/048554_1.jpg')
|
39 |
|
40 |
|
|
|
|
|
41 |
@spaces.GPU
|
42 |
def process_hd(vton_img, garm_img, n_samples, n_steps, image_scale, seed):
|
43 |
model_type = 'hd'
|