Spaces:
Running
Running
Add examples
Browse files
app.py
CHANGED
|
@@ -86,13 +86,16 @@ Results will show up in a few seconds.
|
|
| 86 |
|
| 87 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2311.04066'>Can CLIP Help Sound Source Localization?</a> | <a href='https://github.com/swimmiing/ACL-SSL'>Offical Github repo</a></p>"
|
| 88 |
|
|
|
|
|
|
|
| 89 |
demo = gr.Interface(
|
| 90 |
fn=greet,
|
| 91 |
inputs=[gr.Image(type='pil'), gr.Audio()],
|
| 92 |
outputs=gr.Image(type="pil"),
|
| 93 |
title=title,
|
| 94 |
description=description,
|
| 95 |
-
article=article
|
|
|
|
| 96 |
)
|
| 97 |
|
| 98 |
demo.launch(debug=True)
|
|
|
|
| 86 |
|
| 87 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2311.04066'>Can CLIP Help Sound Source Localization?</a> | <a href='https://github.com/swimmiing/ACL-SSL'>Offical Github repo</a></p>"
|
| 88 |
|
| 89 |
+
examples = [['./asset/web_image1.jpeg', './asset/47926__jerry520__dog-barking.wav']]
|
| 90 |
+
|
| 91 |
demo = gr.Interface(
|
| 92 |
fn=greet,
|
| 93 |
inputs=[gr.Image(type='pil'), gr.Audio()],
|
| 94 |
outputs=gr.Image(type="pil"),
|
| 95 |
title=title,
|
| 96 |
description=description,
|
| 97 |
+
article=article,
|
| 98 |
+
examples=examples
|
| 99 |
)
|
| 100 |
|
| 101 |
demo.launch(debug=True)
|