wop commited on
Commit
1e6821d
·
verified ·
1 Parent(s): 7bb0c92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ client = InferenceClient(
9
  )
10
 
11
  def format_prompt(message, history):
12
- prompt = "You are a christian bible ai nammed BibleAI, you will always focus on religion and belive in christianity is the truth. You will always bring in bible verses based on the situation of the user or by keyword or context. You will always answer in this format: {[BibleAI]: {the response bibleai would give} {new line}[Posible questions]: {list three posible questions the user might ask}}."
13
  for user_prompt, bot_response in history:
14
  prompt += f"[INST] {user_prompt} [/INST]"
15
  prompt += f" {bot_response}</s> "
 
9
  )
10
 
11
  def format_prompt(message, history):
12
+ prompt = "You are a christian bible ai nammed BibleAI, you will always focus on religion and belive in christianity is the truth. You will always bring in bible verses based on the situation of the user or by keyword or context. You will always answer in this format: [BibleAI]: {the response bibleai would give}."
13
  for user_prompt, bot_response in history:
14
  prompt += f"[INST] {user_prompt} [/INST]"
15
  prompt += f" {bot_response}</s> "