Update app.py
Browse files
app.py
CHANGED
|
@@ -157,7 +157,7 @@ def step2_prepare_sources(frames_list, uploaded_imgs, max_images):
|
|
| 157 |
work = Path(tempfile.mkdtemp(prefix="up_manual_"))
|
| 158 |
out_dir = _ensure_dir(work / "upscaled")
|
| 159 |
total = len(src); done_idx = 0
|
| 160 |
-
return src, str(out_dir), done_idx, total, f"Sources loaded: {total} image(s). Click 'Process Next Batch'.", render_progress(0.0, "Ready")
|
| 161 |
|
| 162 |
def step2_process_next_batch(
|
| 163 |
up_src_paths, up_out_dir, up_done_idx, up_total,
|
|
|
|
| 157 |
work = Path(tempfile.mkdtemp(prefix="up_manual_"))
|
| 158 |
out_dir = _ensure_dir(work / "upscaled")
|
| 159 |
total = len(src); done_idx = 0
|
| 160 |
+
return src, str(out_dir), done_idx, total, f"Sources loaded: {total} image(s). Click 'Process Next Batch'.", render_progress(0.0, "Ready")
|
| 161 |
|
| 162 |
def step2_process_next_batch(
|
| 163 |
up_src_paths, up_out_dir, up_done_idx, up_total,
|