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