Spaces:
Sleeping
Sleeping
Update app.py
#2
by
einfachalf
- opened
app.py
CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient(
|
|
7 |
|
8 |
def format_prompt(message, history):
|
9 |
prompt = "<s>"
|
10 |
-
|
11 |
for user_prompt, bot_response in history:
|
12 |
prompt += f"[INST] {user_prompt} [/INST]"
|
13 |
prompt += f" {bot_response}</s> "
|
|
|
7 |
|
8 |
def format_prompt(message, history):
|
9 |
prompt = "<s>"
|
10 |
+
|
11 |
for user_prompt, bot_response in history:
|
12 |
prompt += f"[INST] {user_prompt} [/INST]"
|
13 |
prompt += f" {bot_response}</s> "
|