zac commited on
Commit
106ae96
·
1 Parent(s): acf494d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def generate_text(input_text, history):
18
  else:
19
  for i in history:
20
  input_text_with_history += i[0] + "\n" + i[1]
21
- input_text_with_history + = f"Q: {input_text} \n A:"
22
 
23
  print("new input", input_text_with_history)
24
  output = llm(, max_tokens=1024, stop=["Q:", "\n"], echo=True)
 
18
  else:
19
  for i in history:
20
  input_text_with_history += i[0] + "\n" + i[1]
21
+ input_text_with_history += f"Q: {input_text} \n A:"
22
 
23
  print("new input", input_text_with_history)
24
  output = llm(, max_tokens=1024, stop=["Q:", "\n"], echo=True)