Spaces:
Sleeping
Sleeping
chips
commited on
Commit
·
e9adbaa
1
Parent(s):
2a98bbb
fixes
Browse files
app.py
CHANGED
|
@@ -81,19 +81,19 @@ async def make_base_image(character_lora: str, character_keyword: str, outfit_de
|
|
| 81 |
|
| 82 |
async def run_virtual_tryon_pipeline(
|
| 83 |
request_id,
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
num_images
|
| 91 |
):
|
| 92 |
try:
|
| 93 |
r.set(request_id, "Creating base image")
|
| 94 |
sleep(5)
|
| 95 |
# STEP 1: make base image
|
| 96 |
-
#
|
| 97 |
|
| 98 |
r.set(request_id, "Combining garment images")
|
| 99 |
sleep(5)
|
|
|
|
| 81 |
|
| 82 |
async def run_virtual_tryon_pipeline(
|
| 83 |
request_id,
|
| 84 |
+
top_garment_image,
|
| 85 |
+
bottom_garment_image,
|
| 86 |
+
top_back_garment_image,
|
| 87 |
+
bottom_back_garment_image,
|
| 88 |
+
talent_trigger_word,
|
| 89 |
+
talent_lora_url,
|
| 90 |
num_images
|
| 91 |
):
|
| 92 |
try:
|
| 93 |
r.set(request_id, "Creating base image")
|
| 94 |
sleep(5)
|
| 95 |
# STEP 1: make base image
|
| 96 |
+
#base_image = base_generator.create_image(talent_lora_url, talent_trigger_word, "", 1, num_images)
|
| 97 |
|
| 98 |
r.set(request_id, "Combining garment images")
|
| 99 |
sleep(5)
|