diff options
author | Reinier van der Leer <pwuts@agpt.co> | 2024-01-29 17:23:47 +0100 |
---|---|---|
committer | Reinier van der Leer <pwuts@agpt.co> | 2024-01-29 17:23:47 +0100 |
commit | 7ffc374bb58376317f249c929e5846e57b0da543 (patch) | |
tree | 49c4f6ced963ce22da38a6e1c308def0ec8ef180 /autogpts/autogpt/autogpt/speech/base.py | |
parent | fix: Fix missing categories in data_types.py (diff) | |
parent | fix(agent/json_utils): Make `extract_dict_from_response` more robust (diff) | |
download | Auto-GPT-7ffc374bb58376317f249c929e5846e57b0da543.tar.gz Auto-GPT-7ffc374bb58376317f249c929e5846e57b0da543.tar.bz2 Auto-GPT-7ffc374bb58376317f249c929e5846e57b0da543.zip |
Merge branch 'master' into bringing-in-the-benchmarkbringing-in-the-benchmark
Diffstat (limited to 'autogpts/autogpt/autogpt/speech/base.py')
-rw-r--r-- | autogpts/autogpt/autogpt/speech/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/autogpt/speech/base.py b/autogpts/autogpt/autogpt/speech/base.py index b9bcd040b..fd9fda60f 100644 --- a/autogpts/autogpt/autogpt/speech/base.py +++ b/autogpts/autogpt/autogpt/speech/base.py @@ -31,7 +31,7 @@ class VoiceBase: voice_index (int): The index of the voice to use. """ text = re.sub( - r"\b(?:https?://[-\w_.]+/?\w[-\w_.]*\.(?:[-\w_.]+/?\w[-\w_.]*\.)?[a-z]+(?:/[-\w_.%]+)*\b(?!\.))", + r"\b(?:https?://[-\w_.]+/?\w[-\w_.]*\.(?:[-\w_.]+/?\w[-\w_.]*\.)?[a-z]+(?:/[-\w_.%]+)*\b(?!\.))", # noqa: E501 "", text, ) |