Spaces:
Sleeping
Sleeping
howard-hou
commited on
Commit
•
21aea4b
1
Parent(s):
9a63af8
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ image_processor = CLIPImageProcessor.from_pretrained(vision_tower_name)
|
|
35 |
##########################################################################
|
36 |
def generate_prompt(instruction):
|
37 |
instruction = instruction.strip().replace('\r\n','\n').replace('\n\n','\n')
|
38 |
-
return f"
|
39 |
|
40 |
def generate(
|
41 |
ctx,
|
|
|
35 |
##########################################################################
|
36 |
def generate_prompt(instruction):
|
37 |
instruction = instruction.strip().replace('\r\n','\n').replace('\n\n','\n')
|
38 |
+
return f"{instruction}\n\nAssistant:"
|
39 |
|
40 |
def generate(
|
41 |
ctx,
|