Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ async def generate_audio_with_voice_prefix(text_segment, default_voice, rate, pi
|
|
82 |
current_pitch = -20
|
83 |
current_rate = -10
|
84 |
detect = 1
|
85 |
-
processed_text = processed_text[len(prefix):].strip()
|
86 |
break
|
87 |
#match = re.search(r'([A-Za-z]+)-?(\d+)', processed_text)
|
88 |
#example of match: XYZ-45: Group 1: XYZ, Group 2: -45
|
|
|
82 |
current_pitch = -20
|
83 |
current_rate = -10
|
84 |
detect = 1
|
85 |
+
#processed_text = processed_text[len(prefix):].strip()
|
86 |
break
|
87 |
#match = re.search(r'([A-Za-z]+)-?(\d+)', processed_text)
|
88 |
#example of match: XYZ-45: Group 1: XYZ, Group 2: -45
|