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