fffiloni commited on
Commit
d77c785
1 Parent(s): ba00eb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def get_lcm(prompt):
22
  api_name="/predict"
23
  )
24
  print(result)
25
- return result
26
 
27
  def infer(image_in):
28
  caption = get_caption(image_in)
 
22
  api_name="/predict"
23
  )
24
  print(result)
25
+ return result[0]
26
 
27
  def infer(image_in):
28
  caption = get_caption(image_in)