BramVanroy commited on
Commit
ef2cabe
1 Parent(s): bf5b4d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def generate(
29
  top_k: int = 40,
30
  repetition_penalty: float = 1.2,
31
  ) -> Iterator[str]:
32
- conversation = [{"role": "system", "content": "Je bent een behulpzame assistent die correct Nederlands spreekt en bondige maar correcte antwoorden geeft. Je naam is 'GEITje ultra'."}]
33
  for user, assistant in chat_history:
34
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
35
  conversation.append({"role": "user", "content": message})
 
29
  top_k: int = 40,
30
  repetition_penalty: float = 1.2,
31
  ) -> Iterator[str]:
32
+ conversation = []
33
  for user, assistant in chat_history:
34
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
35
  conversation.append({"role": "user", "content": message})