zac commited on
Commit
884d32c
·
1 Parent(s): 9ab39cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ llm = Llama(model_path= hf_hub_download(repo_id="TheBloke/airoboros-l2-13b-gpt4-
10
 
11
  description = " Bro i dont want learn! i just want results(https://github.com/abetlen/llama-cpp-python)"
12
  def generate_text(input_text):
13
- output = llm("Q: {input_text} \n A:", max_tokens=1024, stop=["Q:", "\n"], echo=True,)
14
  return output['choices'][0]['text']
15
 
16
 
 
10
 
11
  description = " Bro i dont want learn! i just want results(https://github.com/abetlen/llama-cpp-python)"
12
  def generate_text(input_text):
13
+ output = llm(f"Q: {input_text} \n A:", max_tokens=1024, stop=["Q:", "\n"], echo=True,)
14
  return output['choices'][0]['text']
15
 
16