Disable undownloaded-image warning before generate
Browse filesLeave tracking hooks in place; turn off the Generate toast until the feature is finished.
Co-Authored-By: Oz <oz-agent@warp.dev>
app.py
CHANGED
|
@@ -304,16 +304,11 @@ def mark_from_gallery_signal(signal, gallery_value, pending_list, downloaded_lis
|
|
| 304 |
|
| 305 |
|
| 306 |
def warn_undownloaded_before_generate(pending_list, gallery_value):
|
| 307 |
-
"""
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
gr.Warning(
|
| 313 |
-
f"{len(still)} generated image(s) not downloaded yet β "
|
| 314 |
-
"this run will replace the output gallery."
|
| 315 |
-
)
|
| 316 |
-
return None # also clears selected_output_state when chained
|
| 317 |
|
| 318 |
# ββ Model load ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 319 |
# Pipeline class depends on MODEL_VARIANT and is the only thing here that
|
|
|
|
| 304 |
|
| 305 |
|
| 306 |
def warn_undownloaded_before_generate(pending_list, gallery_value):
|
| 307 |
+
"""Disabled for now β undownloaded tracking will return later.
|
| 308 |
+
|
| 309 |
+
Still clears selected_output_state when chained before generate.
|
| 310 |
+
"""
|
| 311 |
+
return None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 312 |
|
| 313 |
# ββ Model load ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 314 |
# Pipeline class depends on MODEL_VARIANT and is the only thing here that
|