Spaces:
Runtime error
Runtime error
Commit
·
2382b56
1
Parent(s):
2d8dc1d
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient(
|
|
7 |
|
8 |
|
9 |
def format_prompt(message, history):
|
10 |
-
system = "<|system|>\nYou are a
|
11 |
prompt = ""
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += f"<|user|>\n{user_prompt}</s>\n"
|
|
|
7 |
|
8 |
|
9 |
def format_prompt(message, history):
|
10 |
+
system = "<|system|>\nYou are a helpful virtual assistant that answer user's question with easy to understand words.</s>\n"
|
11 |
prompt = ""
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += f"<|user|>\n{user_prompt}</s>\n"
|