Cran-May commited on
Commit
8eaa299
1 Parent(s): 72e002c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,9 +15,9 @@ print("Start the model init process")
15
  model = model = GPT4All(model_name, model_path, allow_download = True, device="cpu")
16
  print("Finish the model init process")
17
 
18
- model.config["promptTemplate"] = "GPT4 Correct User: {0}<|end_of_turn|>GPT4 Correct Assistant:
19
 
20
- "
21
  model.config["systemPrompt"] = "You are a helpful assistant named 兮辞."
22
  model._is_chat_session_activated = True
23
 
 
15
  model = model = GPT4All(model_name, model_path, allow_download = True, device="cpu")
16
  print("Finish the model init process")
17
 
18
+ model.config["promptTemplate"] = '''GPT4 Correct User: {0}<|end_of_turn|>GPT4 Correct Assistant:
19
 
20
+ '''
21
  model.config["systemPrompt"] = "You are a helpful assistant named 兮辞."
22
  model._is_chat_session_activated = True
23