Spaces:
Running
on
A100
Running
on
A100
Add progress bars
#3
by
multimodalart
HF Staff
- opened
app.py
CHANGED
@@ -219,7 +219,7 @@ class HunyuanImageApp:
|
|
219 |
seed: int,
|
220 |
use_reprompt: bool,
|
221 |
use_refiner: bool,
|
222 |
-
|
223 |
) -> Tuple[Optional[Image.Image], str]:
|
224 |
"""Generate an image using the HunyuanImage pipeline."""
|
225 |
try:
|
@@ -290,7 +290,8 @@ class HunyuanImageApp:
|
|
290 |
height: int,
|
291 |
num_inference_steps: int,
|
292 |
guidance_scale: float,
|
293 |
-
seed: int
|
|
|
294 |
"""Refine an image using the refiner pipeline."""
|
295 |
try:
|
296 |
if image is None:
|
|
|
219 |
seed: int,
|
220 |
use_reprompt: bool,
|
221 |
use_refiner: bool,
|
222 |
+
progress=gr.Progress(track_tqdm=True)
|
223 |
) -> Tuple[Optional[Image.Image], str]:
|
224 |
"""Generate an image using the HunyuanImage pipeline."""
|
225 |
try:
|
|
|
290 |
height: int,
|
291 |
num_inference_steps: int,
|
292 |
guidance_scale: float,
|
293 |
+
seed: int,
|
294 |
+
progress=gr.Progress(track_tqdm=True)) -> Tuple[Optional[Image.Image], str]:
|
295 |
"""Refine an image using the refiner pipeline."""
|
296 |
try:
|
297 |
if image is None:
|