Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ client = InferenceClient(
|
|
6 |
)
|
7 |
|
8 |
def format_prompt(message, history):
|
9 |
-
system = "<|system|>\nYou are a helpful virtual assistant that answer user's question with easy to understand words.</s>\n"
|
10 |
prompt = ""
|
11 |
for user_prompt, bot_response in history:
|
12 |
prompt += f"<|user|>\n{user_prompt}</s>\n"
|
|
|
6 |
)
|
7 |
|
8 |
def format_prompt(message, history):
|
9 |
+
system = "<|system|>\nYou are a helpful virtual assistant that answer user's question with easy to understand words. You can play text-based games with the user.</s>\n"
|
10 |
prompt = ""
|
11 |
for user_prompt, bot_response in history:
|
12 |
prompt += f"<|user|>\n{user_prompt}</s>\n"
|