Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def chat(x):
|
|
| 57 |
fn_index=0
|
| 58 |
)
|
| 59 |
result = str(result)
|
| 60 |
-
output = result[len(x)-
|
| 61 |
output = re.sub('νν','γ
γ
', output)
|
| 62 |
output = output.split('λ')[0]
|
| 63 |
output = output.split('<|endoftext|>')[0]
|
|
|
|
| 57 |
fn_index=0
|
| 58 |
)
|
| 59 |
result = str(result)
|
| 60 |
+
output = result[len(x)-4:]
|
| 61 |
output = re.sub('νν','γ
γ
', output)
|
| 62 |
output = output.split('λ')[0]
|
| 63 |
output = output.split('<|endoftext|>')[0]
|