Spaces:
SFP
/
Runtime error

SFP commited on
Commit
33bcad9
·
1 Parent(s): ce9deeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,5 +30,5 @@ def image_predict(image):
30
  return caption(image, "png")
31
  examples = [["penguin.png"], ["stop.png"], ["stick.png"]]
32
  title = "ImCap v1 API"
33
- iface = gr.Interface(image_predict, inputs=gr.Image(type="pil"), outputs="label", flagging_options=[], description=description)
34
  iface.launch()
 
30
  return caption(image, "png")
31
  examples = [["penguin.png"], ["stop.png"], ["stick.png"]]
32
  title = "ImCap v1 API"
33
+ iface = gr.Interface(image_predict, inputs=gr.Image(type="pil"), outputs="label", flagging_options=[], title=title)
34
  iface.launch()