Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ pipeline = PIPELINE(model, "rwkv_vocab_v20230424")
|
|
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:
|
|
|
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:
|