save code
This commit is contained in:
+6
-1
@@ -112,6 +112,9 @@
|
||||
<input type="checkbox" id="tuodiCheckbox"> 设置 tuodi(拖地)
|
||||
</label>
|
||||
<br>
|
||||
<label>
|
||||
<input type="checkbox" id="suitCheckbox"> 设置 suit(套装)
|
||||
</label>
|
||||
<!-- <label>
|
||||
<input type="checkbox" id="kuziCheckbox"> 设置 kuzi(裤子)
|
||||
</label> -->
|
||||
@@ -175,6 +178,7 @@
|
||||
const kuziFile = document.getElementById('kuziInput').files[0];
|
||||
const no2 = document.getElementById("no2Checkbox").checked;
|
||||
const tuodi = document.getElementById("tuodiCheckbox").checked;
|
||||
const suit = document.getElementById("suitCheckbox").checked;
|
||||
|
||||
|
||||
if (!humanFile || !clothFile) {
|
||||
@@ -200,7 +204,8 @@
|
||||
cloth_img: clothDataURL, // 包含完整前缀的Base64
|
||||
output_format: "url",
|
||||
no2: no2,
|
||||
tuodi:tuodi
|
||||
tuodi:tuodi,
|
||||
suit:suit
|
||||
};
|
||||
|
||||
if(kuziDataURL)
|
||||
|
||||
Reference in New Issue
Block a user