hysts HF staff commited on
Commit
3222f21
·
1 Parent(s): e54edbf
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -57,6 +57,7 @@ def run(
57
  scale_factor: int = 20,
58
  thresholds: dict[int, float] | None = None,
59
  max_iter_to_alter: int = 25,
 
60
  ) -> PIL.Image.Image:
61
  if thresholds is None:
62
  thresholds = {10: 0.5, 20: 0.8}
 
57
  scale_factor: int = 20,
58
  thresholds: dict[int, float] | None = None,
59
  max_iter_to_alter: int = 25,
60
+ progress: gr.Progress = gr.Progress(track_tqdm=True), # noqa: ARG001, B008
61
  ) -> PIL.Image.Image:
62
  if thresholds is None:
63
  thresholds = {10: 0.5, 20: 0.8}