nai-aclab 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web_app.py +4 -1
package/package.json
CHANGED
package/web_app.py
CHANGED
|
@@ -381,7 +381,6 @@ def run_batting_test(job_id: str, state: AppState) -> None:
|
|
|
381
381
|
run_id = now_id()
|
|
382
382
|
out_dir = OUTPUT_DIR / f"{run_id}_타율테스트_{len(scenes)}씬"
|
|
383
383
|
out_dir.mkdir(parents=True, exist_ok=True)
|
|
384
|
-
client = NovelAIClient(state.api)
|
|
385
384
|
items = []
|
|
386
385
|
progress = 0
|
|
387
386
|
JOBS[job_id].update(
|
|
@@ -402,6 +401,7 @@ def run_batting_test(job_id: str, state: AppState) -> None:
|
|
|
402
401
|
JOBS[job_id]["log"].append("중지 요청으로 남은 씬을 건너뜁니다.")
|
|
403
402
|
break
|
|
404
403
|
current = scene_state(state, scene)
|
|
404
|
+
client = NovelAIClient(current.api)
|
|
405
405
|
base = selected_base(current)
|
|
406
406
|
character = selected_character(current)
|
|
407
407
|
count = scene_count(scene)
|
|
@@ -426,6 +426,9 @@ def run_batting_test(job_id: str, state: AppState) -> None:
|
|
|
426
426
|
"scene_index": scene_index,
|
|
427
427
|
"source_base_preset": base.name if base else "",
|
|
428
428
|
"source_character_preset": character.name if character else "",
|
|
429
|
+
"image_size": current.generation.image_size,
|
|
430
|
+
"width": current.api.width,
|
|
431
|
+
"height": current.api.height,
|
|
429
432
|
"created_at": time.strftime("%Y-%m-%d %H:%M:%S"),
|
|
430
433
|
}
|
|
431
434
|
try:
|