ovi054 commited on
Commit
a42232c
·
verified ·
1 Parent(s): 00956bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -18,7 +18,6 @@ florence_processor = AutoProcessor.from_pretrained('microsoft/Florence-2-base',
18
 
19
  # api_key = os.getenv("HF_READ_TOKEN")
20
 
21
-
22
  def generate_caption(image):
23
  if not isinstance(image, Image.Image):
24
  image = Image.fromarray(image)
 
18
 
19
  # api_key = os.getenv("HF_READ_TOKEN")
20
 
 
21
  def generate_caption(image):
22
  if not isinstance(image, Image.Image):
23
  image = Image.fromarray(image)