Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def chat(x):
|
|
57 |
outout = re.sub("[νν]", "γ
γ
", output)
|
58 |
output = output.split('<|endoftext|>')[0]
|
59 |
output = output.split('\n')[0]
|
60 |
-
output = re.sub(
|
61 |
output = re.sub('[a-zA-Z]',' ',output)
|
62 |
return output
|
63 |
|
|
|
57 |
outout = re.sub("[νν]", "γ
γ
", output)
|
58 |
output = output.split('<|endoftext|>')[0]
|
59 |
output = output.split('\n')[0]
|
60 |
+
output = re.sub('[=+#/\:@*\"β»γγβ|\\\<\>\(\)\[\]`\'β¦γ\β\β\βΒ·]', ' ', output)
|
61 |
output = re.sub('[a-zA-Z]',' ',output)
|
62 |
return output
|
63 |
|