icashwave commited on
Commit
5839066
1 Parent(s): 55b155d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ pipeline = PIPELINE(model, "rwkv_vocab_v20230424")
64
 
65
  #Assistant:"""
66
 
67
- def generate_prompt(instruction, input=None):
68
  instruction = instruction.strip().replace('\r\n','\n').replace('\n\n','\n').replace('\n\n','\n')
69
  input = input.strip().replace('\r\n','\n').replace('\n\n','\n').replace('\n\n','\n')
70
  if input:
 
64
 
65
  #Assistant:"""
66
 
67
+ def generate_prompt(instruction, input=""):
68
  instruction = instruction.strip().replace('\r\n','\n').replace('\n\n','\n').replace('\n\n','\n')
69
  input = input.strip().replace('\r\n','\n').replace('\n\n','\n').replace('\n\n','\n')
70
  if input: