Spaces:
Sleeping
Sleeping
guyyariv
commited on
Commit
·
5aeb32a
1
Parent(s):
15b7044
AudioTokenDemo
Browse files
app.py
CHANGED
|
@@ -122,11 +122,11 @@ if __name__ == "__main__":
|
|
| 122 |
device = 'cpu'
|
| 123 |
model = AudioTokenWrapper(lora, device)
|
| 124 |
|
| 125 |
-
description = """
|
| 126 |
-
This is a demo of
|
| 127 |
Simply upload an audio to test your own case.<br>
|
| 128 |
-
For more information, please see the original
|
| 129 |
-
"""
|
| 130 |
|
| 131 |
examples = [
|
| 132 |
["assets/train.wav"],
|
|
@@ -140,7 +140,7 @@ if __name__ == "__main__":
|
|
| 140 |
outputs="image",
|
| 141 |
title='AudioToken',
|
| 142 |
description=description,
|
| 143 |
-
examples=examples
|
| 144 |
)
|
| 145 |
demo.launch()
|
| 146 |
|
|
|
|
| 122 |
device = 'cpu'
|
| 123 |
model = AudioTokenWrapper(lora, device)
|
| 124 |
|
| 125 |
+
description = """<p>
|
| 126 |
+
This is a demo of <a href='https://pages.cs.huji.ac.il/adiyoss-lab/AudioToken' target='_blank'>AudioToken: Adaptation of Text-Conditioned Diffusion Models for Audio-to-Image Generation</a><br>.
|
| 127 |
Simply upload an audio to test your own case.<br>
|
| 128 |
+
For more information, please see the original <a href='https://arxiv.org/abs/2305.13050' target='_blank'>paper</a> and <a href='https://github.com/guyyariv/AudioToken' target='_blank'>repo</a>.
|
| 129 |
+
</p>"""
|
| 130 |
|
| 131 |
examples = [
|
| 132 |
["assets/train.wav"],
|
|
|
|
| 140 |
outputs="image",
|
| 141 |
title='AudioToken',
|
| 142 |
description=description,
|
| 143 |
+
# examples=examples
|
| 144 |
)
|
| 145 |
demo.launch()
|
| 146 |
|