howard-hou commited on
Commit
21aea4b
1 Parent(s): 9a63af8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"\n{instruction}\n\nAssistant:"
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,