Fabrice-TIERCELIN commited on
Commit
452e82d
·
verified ·
1 Parent(s): ef13c35

@spaces.GPU(duration=180)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ examples = [
14
  ]
15
 
16
  # Define a GPU-decorated function for enhancement
17
- @spaces.GPU()
18
  def enhance_with_gpu(input_video, input_text, upscale, max_chunk_len, chunk_size):
19
  """在每次调用时创建新的 STAR_sr 实例,确保参数正确传递"""
20
  star = STAR_sr(
 
14
  ]
15
 
16
  # Define a GPU-decorated function for enhancement
17
+ @spaces.GPU(duration=180)
18
  def enhance_with_gpu(input_video, input_text, upscale, max_chunk_len, chunk_size):
19
  """在每次调用时创建新的 STAR_sr 实例,确保参数正确传递"""
20
  star = STAR_sr(