Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def _ensure_repo():
|
|
| 33 |
_ensure_repo()
|
| 34 |
|
| 35 |
|
| 36 |
-
@spaces.GPU(duration=
|
| 37 |
def generate(prompt, height, width, sampler_preset):
|
| 38 |
with tempfile.TemporaryDirectory() as tmp:
|
| 39 |
out_path = Path(tmp) / "out.png"
|
|
|
|
| 33 |
_ensure_repo()
|
| 34 |
|
| 35 |
|
| 36 |
+
@spaces.GPU(duration=8) # fp8 + up to 48 steps at high res can run long; raise further if you see timeouts
|
| 37 |
def generate(prompt, height, width, sampler_preset):
|
| 38 |
with tempfile.TemporaryDirectory() as tmp:
|
| 39 |
out_path = Path(tmp) / "out.png"
|