Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
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}
|