bdsqlsz commited on
Commit
f24924b
1 Parent(s): a32cba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def modify_caption(caption: str) -> str:
47
  def run_example(image):
48
  image = Image.fromarray(image)
49
  task_prompt = "<MORE_DETAILED_CAPTION>"
50
- prompt = task_prompt + ""
51
 
52
  # Ensure the image is in RGB mode
53
  if image.mode != "RGB":
 
47
  def run_example(image):
48
  image = Image.fromarray(image)
49
  task_prompt = "<MORE_DETAILED_CAPTION>"
50
+ prompt = task_prompt
51
 
52
  # Ensure the image is in RGB mode
53
  if image.mode != "RGB":