SherryX commited on
Commit
292f168
·
verified ·
1 Parent(s): 32ba240

Update app.py

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