gathnex commited on
Commit
806371b
·
1 Parent(s): 40ffe10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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{item.prompt.strip()}{E_INST}\n{assistant}\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 = """