shantipriya commited on
Commit
6ab50fc
1 Parent(s): cf51dc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ llm = Llama(model_path="ggml-model-q4_0.bin", n_ctx=256, n_batch=128)
5
 
6
  def generate_text(input_text):
7
  print(input_text)
8
- output = llm(f"### Instruction:\n{input_text}\n\n### Response:\n", max_tokens=512, echo=False)
9
  print(output)
10
  return output['choices'][0]['text']
11
 
 
5
 
6
  def generate_text(input_text):
7
  print(input_text)
8
+ output = llm(f"### Instruction:\n{input_text}\n\n### Response:\n", max_tokens=128, echo=False)
9
  print(output)
10
  return output['choices'][0]['text']
11