Spaces:
Sleeping
Sleeping
einfachalf
commited on
Commit
•
ccfec40
1
Parent(s):
7d4e07d
Update app.py
Browse files
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> "
|