Spaces:
Running
on
Zero
Running
on
Zero
BramVanroy
commited on
Commit
•
570c4d8
1
Parent(s):
18704c9
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def generate(
|
|
31 |
repetition_penalty: float = 1.,
|
32 |
do_sample: bool = False,
|
33 |
) -> Iterator[str]:
|
34 |
-
conversation = [{"role": "system", "content": "Je bent GEITje, een behulpzame en enthousiaste assistent."}]
|
35 |
for user, assistant in chat_history:
|
36 |
conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|
37 |
conversation.append({"role": "user", "content": message})
|
|
|
31 |
repetition_penalty: float = 1.,
|
32 |
do_sample: bool = False,
|
33 |
) -> Iterator[str]:
|
34 |
+
conversation = [{"role": "system", "content": "Je bent 'GEITje Ultra', een behulpzame en enthousiaste assistent."}]
|
35 |
for user, assistant in chat_history:
|
36 |
conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|
37 |
conversation.append({"role": "user", "content": message})
|