gheinrich commited on
Commit
9c74eea
·
1 Parent(s): cd66dcf

Fix misleading progress label during generation

Browse files

Drop 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.

Files changed (1) hide show
  1. app.py +1 -1
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(track_tqdm=True),
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,