Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def post_process(text):
|
|
| 29 |
text = text.replace('"', "")
|
| 30 |
return " ".join(text.split())
|
| 31 |
|
| 32 |
-
|
| 33 |
def infer_tts(ref_audio_orig: str, gen_text: str, speed: float = 1.0, request: gr.Request = None):
|
| 34 |
|
| 35 |
if not ref_audio_orig:
|
|
|
|
| 29 |
text = text.replace('"', "")
|
| 30 |
return " ".join(text.split())
|
| 31 |
|
| 32 |
+
#@spaces.GPU
|
| 33 |
def infer_tts(ref_audio_orig: str, gen_text: str, speed: float = 1.0, request: gr.Request = None):
|
| 34 |
|
| 35 |
if not ref_audio_orig:
|