Fabrice-TIERCELIN commited on
Commit
ee3b3db
1 Parent(s): f1841f9

Need more than 60 seconds to compute

Browse files

All the processes are failing because it exceeds the limit. Even if I reuse the example images, it fails. The examples are working because they are loaded at startup without time limit.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ aura_sr = AuraSR.from_pretrained("fal-ai/AuraSR")
19
  # Restore original torch.load
20
  torch.load = original_load
21
 
22
- @spaces.GPU
23
  def process_image(input_image):
24
  if input_image is None:
25
  return None
 
19
  # Restore original torch.load
20
  torch.load = original_load
21
 
22
+ @spaces.GPU(duration=419)
23
  def process_image(input_image):
24
  if input_image is None:
25
  return None