Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ client = InferenceClient("google/gemma-7b-it")
|
|
7 |
def format_prompt(message, history):
|
8 |
prompt = ""
|
9 |
if history:
|
|
|
10 |
for user_prompt, bot_response in history:
|
11 |
prompt += f"<start_of_turn>user{user_prompt}<end_of_turn>"
|
12 |
prompt += f"<start_of_turn>model{bot_response}"
|
|
|
7 |
def format_prompt(message, history):
|
8 |
prompt = ""
|
9 |
if history:
|
10 |
+
#<start_of_turn>userWhat is recession?<end_of_turn><start_of_turn>model
|
11 |
for user_prompt, bot_response in history:
|
12 |
prompt += f"<start_of_turn>user{user_prompt}<end_of_turn>"
|
13 |
prompt += f"<start_of_turn>model{bot_response}"
|