Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixiang46
commited on
Commit
•
e08fc48
1
Parent(s):
232eb9c
update
Browse files
app.py
CHANGED
@@ -45,8 +45,9 @@ def tryon(person_img, garment_img, seed, randomize_seed):
|
|
45 |
post_end_time = time.time()
|
46 |
print(f"time used: {post_end_time-post_start_time}")
|
47 |
|
|
|
48 |
get_start_time =time.time()
|
49 |
-
Max_Retry =
|
50 |
for i in range(Max_Retry):
|
51 |
time.sleep(3)
|
52 |
try:
|
|
|
45 |
post_end_time = time.time()
|
46 |
print(f"time used: {post_end_time-post_start_time}")
|
47 |
|
48 |
+
time.sleep(10)
|
49 |
get_start_time =time.time()
|
50 |
+
Max_Retry = 4
|
51 |
for i in range(Max_Retry):
|
52 |
time.sleep(3)
|
53 |
try:
|