Spaces:
Running on Zero
Running on Zero
Fix misleading progress label during generation
Browse filesDrop track_tqdm (it hijacked the model's length-less, unlabeled tqdm and
showed a bogus "Downloading (incomplete total...)" indicator). Keep explicit
phase labels: model loading, generating, and safety filter.
app.py
CHANGED
|
@@ -434,7 +434,7 @@ def generate(
|
|
| 434 |
micro_cond: str,
|
| 435 |
return_animation: bool,
|
| 436 |
enable_image_guard: bool,
|
| 437 |
-
progress: gr.Progress = gr.Progress(
|
| 438 |
):
|
| 439 |
return engine.generate(
|
| 440 |
prompt,
|
|
|
|
| 434 |
micro_cond: str,
|
| 435 |
return_animation: bool,
|
| 436 |
enable_image_guard: bool,
|
| 437 |
+
progress: gr.Progress = gr.Progress(),
|
| 438 |
):
|
| 439 |
return engine.generate(
|
| 440 |
prompt,
|