Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,7 @@ description = """ImCap v1 uses a varity of image caption generators, then plugs
|
|
35 |
style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
|
36 |
<img style="margin-bottom: 0em;display: inline;margin-top: -.25em;"
|
37 |
src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
38 |
-
if there is a queue (free CPU works fine as it uses apis).
|
|
|
39 |
iface = gr.Interface(image_predict, inputs=gr.Image(type="pil"), outputs="label", flagging_options=[], title=title, examples=examples, description=description)
|
40 |
iface.launch(show_api=False)
|
|
|
35 |
style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
|
36 |
<img style="margin-bottom: 0em;display: inline;margin-top: -.25em;"
|
37 |
src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
38 |
+
if there is a queue (free CPU works fine as it uses apis).
|
39 |
+
<br/>To use the api, go [here](https://sfp-imcapapi.hf.space/--replicas/cnk2m/) and click Use Via API to learn how to use the API"""
|
40 |
iface = gr.Interface(image_predict, inputs=gr.Image(type="pil"), outputs="label", flagging_options=[], title=title, examples=examples, description=description)
|
41 |
iface.launch(show_api=False)
|