Spaces:
Runtime error
Runtime error
up
Browse files- app-full.py +3 -0
app-full.py
CHANGED
@@ -82,6 +82,9 @@ def generate_image(
|
|
82 |
seed: int,
|
83 |
progress=gr.Progress(track_tqdm=True), # noqa: ARG001, B008
|
84 |
) -> tuple[PIL.Image.Image, int]:
|
|
|
|
|
|
|
85 |
if seed == -1:
|
86 |
seed = torch.randint(0, 1_000_000, (1,)).item()
|
87 |
|
|
|
82 |
seed: int,
|
83 |
progress=gr.Progress(track_tqdm=True), # noqa: ARG001, B008
|
84 |
) -> tuple[PIL.Image.Image, int]:
|
85 |
+
gr.Info(
|
86 |
+
"This Spaces is an unofficial quantized version of HiDream-ai-full. It is not as good as the full version, but it is faster and uses less memory."
|
87 |
+
)
|
88 |
if seed == -1:
|
89 |
seed = torch.randint(0, 1_000_000, (1,)).item()
|
90 |
|