Commit
·
18dd836
1
Parent(s):
6767246
output format
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def add_text(history, text):
|
|
45 |
|
46 |
def bot(history):
|
47 |
response = infer(history[-1][0], history)
|
48 |
-
formatted_response = "**Bot
|
49 |
history[-1][1] = formatted_response
|
50 |
return history
|
51 |
|
|
|
45 |
|
46 |
def bot(history):
|
47 |
response = infer(history[-1][0], history)
|
48 |
+
formatted_response = f"**Bot:**\n\n{' \n'.join(response.split('. '))}"
|
49 |
history[-1][1] = formatted_response
|
50 |
return history
|
51 |
|