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