Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ threads = 3,
|
|
12 |
)
|
13 |
|
14 |
def stream(prompt, UL):
|
15 |
-
system_prompt = 'You are a helpful AI assistant
|
16 |
E_INST = "</s>"
|
17 |
user, assistant = "<|user|>", "<|assistant|>"
|
18 |
prompt = f"{system_prompt}{E_INST}\n{user}\n{prompt.strip()}{E_INST}\n{assistant}\n"
|
|
|
12 |
)
|
13 |
|
14 |
def stream(prompt, UL):
|
15 |
+
system_prompt = 'You are a helpful AI assistant'
|
16 |
E_INST = "</s>"
|
17 |
user, assistant = "<|user|>", "<|assistant|>"
|
18 |
prompt = f"{system_prompt}{E_INST}\n{user}\n{prompt.strip()}{E_INST}\n{assistant}\n"
|