github-actions[bot] commited on
Commit
df5c421
·
1 Parent(s): 37a2a42

Deploy from GitHub - 2026-01-19 04:51:11

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1483,11 +1483,9 @@ def stylize_image_impl(
1483
  return None, error_msg, None
1484
 
1485
 
1486
- # Wrap with GPU decorator for ZeroGPU if available
1487
- if SPACES_AVAILABLE:
1488
- stylize_image = GPU(stylize_image_impl)
1489
- else:
1490
- stylize_image = stylize_image_impl
1491
 
1492
 
1493
  def process_webcam_frame(image: Image.Image, style: str, backend: str) -> Image.Image:
 
1483
  return None, error_msg, None
1484
 
1485
 
1486
+ # Run without GPU decorator - will use available device (GPU or CPU)
1487
+ # This avoids ZeroGPU quota issues
1488
+ stylize_image = stylize_image_impl
 
 
1489
 
1490
 
1491
  def process_webcam_frame(image: Image.Image, style: str, backend: str) -> Image.Image: