Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def chat(x):
|
|
53 |
1.1, # float, representing input in 'repetition_penalty' Slider component
|
54 |
fn_index=0
|
55 |
)
|
56 |
-
output = result[len(x)-
|
57 |
outout = re.sub("[νν]", "γ
γ
", output)
|
58 |
output = output.split('<|endoftext|>')[0]
|
59 |
output = output.split('\n')[0]
|
|
|
53 |
1.1, # float, representing input in 'repetition_penalty' Slider component
|
54 |
fn_index=0
|
55 |
)
|
56 |
+
output = result[len(x)-3:]
|
57 |
outout = re.sub("[νν]", "γ
γ
", output)
|
58 |
output = output.split('<|endoftext|>')[0]
|
59 |
output = output.split('\n')[0]
|