fffiloni commited on
Commit
6d24aee
1 Parent(s): 95b7524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def get_caption(image_in):
66
  result = client.predict(
67
  image_in, # filepath in 'image' Image component
68
  "Describe precisely the image in one sentence.", # str in 'Question' Textbox component
69
- api_name="/predict"
70
  )
71
  print(result)
72
  return result
 
66
  result = client.predict(
67
  image_in, # filepath in 'image' Image component
68
  "Describe precisely the image in one sentence.", # str in 'Question' Textbox component
69
+ api_name="/answer_question"
70
  )
71
  print(result)
72
  return result