Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def chat(x):
|
|
54 |
fn_index=0
|
55 |
)
|
56 |
result = str(result)
|
57 |
-
output = result[len(x)-
|
58 |
outout = re.sub("[νν]", "γ
γ
", output)
|
59 |
output = output.split('<|endoftext|>')[0]
|
60 |
output = output.split('\n')[0]
|
|
|
54 |
fn_index=0
|
55 |
)
|
56 |
result = str(result)
|
57 |
+
output = result[len(x)-4:]
|
58 |
outout = re.sub("[νν]", "γ
γ
", output)
|
59 |
output = output.split('<|endoftext|>')[0]
|
60 |
output = output.split('\n')[0]
|