alibabasglab commited on
Commit
950bc2c
·
verified ·
1 Parent(s): e7b2657

Update networks.py

Browse files
Files changed (1) hide show
  1. networks.py +1 -0
networks.py CHANGED
@@ -165,6 +165,7 @@ class SpeechModel:
165
  elif self.print: print(f'{key} not loaded')
166
  model.load_state_dict(state)
167
 
 
168
  def decode(self):
169
  """
170
  Decodes the input audio data using the loaded model and ensures the output matches the original audio length.
 
165
  elif self.print: print(f'{key} not loaded')
166
  model.load_state_dict(state)
167
 
168
+ @spaces.GPU
169
  def decode(self):
170
  """
171
  Decodes the input audio data using the loaded model and ensures the output matches the original audio length.