Spaces:
Running
Running
Update generate_audio.py
Browse files- generate_audio.py +1 -1
generate_audio.py
CHANGED
|
@@ -119,7 +119,7 @@ class TTSGenerator:
|
|
| 119 |
byte_io.seek(0)
|
| 120 |
return AudioSegment.from_wav(byte_io)
|
| 121 |
|
| 122 |
-
@spaces.GPU
|
| 123 |
def generate_audio(self):
|
| 124 |
"""
|
| 125 |
Converts the transcript into audio and saves it to a file.
|
|
|
|
| 119 |
byte_io.seek(0)
|
| 120 |
return AudioSegment.from_wav(byte_io)
|
| 121 |
|
| 122 |
+
@spaces.GPU(duration=300)
|
| 123 |
def generate_audio(self):
|
| 124 |
"""
|
| 125 |
Converts the transcript into audio and saves it to a file.
|