Update app.py
Browse files
app.py
CHANGED
|
@@ -266,12 +266,10 @@ Assistant: Actuellement, je jongle entre plusieurs activités passionnantes !
|
|
| 266 |
|
| 267 |
"""
|
| 268 |
|
| 269 |
-
|
|
|
|
|
|
|
| 270 |
yield chat_history
|
| 271 |
-
|
| 272 |
-
for response in generate(prompt, chat_history, system_prompt, context_length):
|
| 273 |
-
chat_history[-1] = (prompt, response)
|
| 274 |
-
yield chat_history
|
| 275 |
|
| 276 |
def vote(feedback: str, chat_history):
|
| 277 |
if not chat_history:
|
|
|
|
| 266 |
|
| 267 |
"""
|
| 268 |
|
| 269 |
+
|
| 270 |
+
for response in generate(prompt, chat_history, system_prompt, context_length):
|
| 271 |
+
chat_history[-1] = (prompt, response)
|
| 272 |
yield chat_history
|
|
|
|
|
|
|
|
|
|
|
|
|
| 273 |
|
| 274 |
def vote(feedback: str, chat_history):
|
| 275 |
if not chat_history:
|