Update app.py
Browse files
app.py
CHANGED
@@ -125,6 +125,15 @@ run_name = time.strftime("%m%d-%H%M")
|
|
125 |
|
126 |
num_inputs = 6
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
ckpt_root = "/data/checkpoints/XVerse"
|
129 |
model.clear_modulation_adapters()
|
130 |
model.pipe.unload_lora_weights()
|
@@ -538,9 +547,9 @@ if __name__ == "__main__":
|
|
538 |
double_attention, single_attention,
|
539 |
db_latent_lora_scale_str, sb_latent_lora_scale_str, vae_lora_scale_str,
|
540 |
indexs_state, # 传递 indexs 状态
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
],
|
545 |
outputs=output
|
546 |
)
|
|
|
125 |
|
126 |
num_inputs = 6
|
127 |
|
128 |
+
images = []
|
129 |
+
captions = []
|
130 |
+
face_btns = []
|
131 |
+
det_btns = []
|
132 |
+
vlm_btns = []
|
133 |
+
accordions = []
|
134 |
+
idip_checkboxes = []
|
135 |
+
accordion_states = []
|
136 |
+
|
137 |
ckpt_root = "/data/checkpoints/XVerse"
|
138 |
model.clear_modulation_adapters()
|
139 |
model.pipe.unload_lora_weights()
|
|
|
547 |
double_attention, single_attention,
|
548 |
db_latent_lora_scale_str, sb_latent_lora_scale_str, vae_lora_scale_str,
|
549 |
indexs_state, # 传递 indexs 状态
|
550 |
+
*images,
|
551 |
+
*captions,
|
552 |
+
*idip_checkboxes,
|
553 |
],
|
554 |
outputs=output
|
555 |
)
|