Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,7 @@ pipe.to(device)
|
|
| 28 |
# ---------------------------------------------------------------------
|
| 29 |
# Inference function (maps to CLIPTextEncode + EmptySD3LatentImage + KSampler + VAEDecode)
|
| 30 |
# ---------------------------------------------------------------------
|
|
|
|
| 31 |
def generate_images(
|
| 32 |
positive: str,
|
| 33 |
negative: str,
|
|
|
|
| 28 |
# ---------------------------------------------------------------------
|
| 29 |
# Inference function (maps to CLIPTextEncode + EmptySD3LatentImage + KSampler + VAEDecode)
|
| 30 |
# ---------------------------------------------------------------------
|
| 31 |
+
@spaces.GPU(duration=120)
|
| 32 |
def generate_images(
|
| 33 |
positive: str,
|
| 34 |
negative: str,
|