fffiloni commited on
Commit
adcf5f6
1 Parent(s): d21b068

Update app.py

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