Spaces:
Runtime error
Runtime error
Increase GPU space time from 60 to 90 seconds
Browse files🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -570,7 +570,7 @@ def compile_models_with_aoti():
|
|
| 570 |
return False
|
| 571 |
|
| 572 |
|
| 573 |
-
@spaces.GPU(duration=
|
| 574 |
def generate_qr_code_unified(
|
| 575 |
prompt: str,
|
| 576 |
negative_prompt: str = "ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, closed eyes, text, logo",
|
|
|
|
| 570 |
return False
|
| 571 |
|
| 572 |
|
| 573 |
+
@spaces.GPU(duration=90) # Reduced from 720s - AOTI compilation speeds up inference
|
| 574 |
def generate_qr_code_unified(
|
| 575 |
prompt: str,
|
| 576 |
negative_prompt: str = "ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, closed eyes, text, logo",
|