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