StarFox7 commited on
Commit
dbfae40
·
1 Parent(s): 9238521

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -24,8 +24,7 @@ url = "https://huggingface.co/StarFox7/Llama-2-ko-7B-chat-ggml/blob/main/Llama-2
24
 
25
  prompt_template = "Q: {q}. A: "
26
 
27
- _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
28
- stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
29
 
30
  logger.debug(f"{stop_string=} not used")
31
 
 
24
 
25
  prompt_template = "Q: {q}. A: "
26
 
27
+ stop_string = ["Q:", "\n"]
 
28
 
29
  logger.debug(f"{stop_string=} not used")
30