Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def stream(prompt, UL):
|
|
16 |
system_prompt = 'Below is an instruction that describes a task. Write a response that appropriately completes the request.'
|
17 |
E_INST = "</s>"
|
18 |
user, assistant = "<|user|>", "<|assistant|>"
|
19 |
-
prompt = f"{system_prompt}{E_INST}\n{user}\n{
|
20 |
return llm(prompt)
|
21 |
|
22 |
css = """
|
|
|
16 |
system_prompt = 'Below is an instruction that describes a task. Write a response that appropriately completes the request.'
|
17 |
E_INST = "</s>"
|
18 |
user, assistant = "<|user|>", "<|assistant|>"
|
19 |
+
prompt = f"{system_prompt}{E_INST}\n{user}\n{prompt.strip()}{E_INST}\n{assistant}\n"
|
20 |
return llm(prompt)
|
21 |
|
22 |
css = """
|