Spaces:
Running
Running
feat(text): more char
Browse files- dalle_mini/text.py +1 -1
dalle_mini/text.py
CHANGED
@@ -95,7 +95,7 @@ def fix_html(t):
|
|
95 |
|
96 |
|
97 |
def replace_punctuation_with_commas(t):
|
98 |
-
return re.sub("
|
99 |
|
100 |
|
101 |
def simplify_quotes(t):
|
|
|
95 |
|
96 |
|
97 |
def replace_punctuation_with_commas(t):
|
98 |
+
return re.sub("[()[\].,|:;?!=+~\-\/{}]", ",", t)
|
99 |
|
100 |
|
101 |
def simplify_quotes(t):
|