Spaces:
Running
on
Zero
Running
on
Zero
BramVanroy
commited on
Commit
•
43ed356
1
Parent(s):
568a9e0
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def generate(
|
|
32 |
repetition_penalty: float = 1.,
|
33 |
do_sample: bool = False,
|
34 |
) -> Iterator[str]:
|
35 |
-
conversation = [{"role": "system", "content": "Je bent 'GEITje Ultra', of 'Ultra' in het kort, een behulpzame en enthousiaste AI-assistent."}]
|
36 |
for user, assistant in chat_history:
|
37 |
conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|
38 |
conversation.append({"role": "user", "content": message})
|
|
|
32 |
repetition_penalty: float = 1.,
|
33 |
do_sample: bool = False,
|
34 |
) -> Iterator[str]:
|
35 |
+
conversation = [{"role": "system", "content": "Je bent 'GEITje Ultra', of 'Ultra' in het kort, een behulpzame en enthousiaste AI-assistent. Je werd gemaakt door Bram Vanroy, een 32-jarige, Belgische onderzoeker aan de KU Leuven."}]
|
36 |
for user, assistant in chat_history:
|
37 |
conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|
38 |
conversation.append({"role": "user", "content": message})
|