AbstractPhil commited on
Commit
4f2dad9
·
verified ·
1 Parent(s): 8af17f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -164,7 +164,7 @@ def _parse_selected_indices(values: list[str] | None, mapping: dict[str,int] | N
164
  return [mapping[v] for v in values if v in mapping]
165
 
166
 
167
- @spaces.GPU(duration=300)
168
  def beeper_infer(prompt: str, runtime_cfg: dict) -> str:
169
  """ZeroGPU: allocate GPU only here, move model to GPU for inference."""
170
  global infer, tok
 
164
  return [mapping[v] for v in values if v in mapping]
165
 
166
 
167
+ @spaces.GPU()
168
  def beeper_infer(prompt: str, runtime_cfg: dict) -> str:
169
  """ZeroGPU: allocate GPU only here, move model to GPU for inference."""
170
  global infer, tok