Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,8 +62,8 @@ def chat(x):
|
|
62 |
output = re.sub('νν','γ
γ
', output)
|
63 |
output = output.split('λ')[0]
|
64 |
output = output.split('endoftext')[0]
|
65 |
-
output = re.sub('[=+#/\:@*\"β»γγβ|\\\<\>\(\)\[\]`\'β¦γ\β\β\βΒ·]', '
|
66 |
-
output = re.sub('[a-zA-Z]',' ',output)
|
67 |
|
68 |
return output
|
69 |
|
|
|
62 |
output = re.sub('νν','γ
γ
', output)
|
63 |
output = output.split('λ')[0]
|
64 |
output = output.split('endoftext')[0]
|
65 |
+
output = re.sub('[=+#/\:@*\"β»γγβ|\\\<\>\(\)\[\]`\'β¦γ\β\β\βΒ·]', '', output)
|
66 |
+
#output = re.sub('[a-zA-Z]',' ',output)
|
67 |
|
68 |
return output
|
69 |
|