Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,10 +31,10 @@ routes.get_types = get_types
|
|
31 |
|
32 |
def cut(prom, out):
|
33 |
output = out[len(prom)-2:]
|
|
|
34 |
output = output.split('<|endoftext|>')[0]
|
35 |
output = output.split('\n')[0]
|
36 |
output = re.sub('[=+#/\:@*\"β»γγβ|\\\<\>\(\)\[\]`\'β¦γ\β\β\βΒ·]', ' ', output)
|
37 |
-
outout = re.sub("νν", "γ
γ
", output)
|
38 |
return output
|
39 |
# App code
|
40 |
def mbti(x):
|
|
|
31 |
|
32 |
def cut(prom, out):
|
33 |
output = out[len(prom)-2:]
|
34 |
+
outout = re.sub("νν", "γ
γ
", output)
|
35 |
output = output.split('<|endoftext|>')[0]
|
36 |
output = output.split('\n')[0]
|
37 |
output = re.sub('[=+#/\:@*\"β»γγβ|\\\<\>\(\)\[\]`\'β¦γ\β\β\βΒ·]', ' ', output)
|
|
|
38 |
return output
|
39 |
# App code
|
40 |
def mbti(x):
|