Spaces:
Runtime error
Runtime error
up
Browse files- app-fast.py +3 -0
app-fast.py
CHANGED
@@ -84,6 +84,9 @@ def generate_image(
|
|
84 |
seed: int,
|
85 |
progress=gr.Progress(track_tqdm=True), # noqa: ARG001, B008
|
86 |
) -> tuple[PIL.Image.Image, int]:
|
|
|
|
|
|
|
87 |
if seed == -1:
|
88 |
seed = torch.randint(0, 1_000_000, (1,)).item()
|
89 |
|
|
|
84 |
seed: int,
|
85 |
progress=gr.Progress(track_tqdm=True), # noqa: ARG001, B008
|
86 |
) -> tuple[PIL.Image.Image, int]:
|
87 |
+
gr.Info(
|
88 |
+
"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."
|
89 |
+
)
|
90 |
if seed == -1:
|
91 |
seed = torch.randint(0, 1_000_000, (1,)).item()
|
92 |
|