刘鑫 commited on
Commit
cddb0f1
·
1 Parent(s): e4916af

set zero gpu inference

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def get_voxcpm_model():
71
  return _voxcpm_model
72
 
73
 
74
- @spaces.GPU
75
  def prompt_wav_recognition(prompt_wav: Optional[str]) -> str:
76
  """Use ASR to recognize prompt audio text."""
77
  if prompt_wav is None or not prompt_wav.strip():
 
71
  return _voxcpm_model
72
 
73
 
74
+ @spaces.GPU(duration=120)
75
  def prompt_wav_recognition(prompt_wav: Optional[str]) -> str:
76
  """Use ASR to recognize prompt audio text."""
77
  if prompt_wav is None or not prompt_wav.strip():