Spaces:
Running
on
Zero
Running
on
Zero
Update networks.py
Browse files- 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.
|