Spaces:
Running
on
T4
Running
on
T4
add duplication badge
Browse files
app.py
CHANGED
@@ -22,5 +22,8 @@ gr.Interface(
|
|
22 |
inputs="text",
|
23 |
outputs=[gr.Image(), gr.Audio(type='filepath')],
|
24 |
title="Riffusion Text-to-Music",
|
25 |
-
description="Describe a musical prompt, generate music by getting a Riffusion spectrogram and its corresponding sound
|
|
|
|
|
|
|
26 |
).queue(max_size=32, concurrency_count=20).launch(debug=True)
|
|
|
22 |
inputs="text",
|
23 |
outputs=[gr.Image(), gr.Audio(type='filepath')],
|
24 |
title="Riffusion Text-to-Music",
|
25 |
+
description="""Describe a musical prompt, generate music by getting a Riffusion spectrogram and its corresponding sound.
|
26 |
+
Running on {"<b>GPU š„</b>" if torch.cuda.is_available() else f"<b>CPU š„¶</b>. For faster inference it is recommended to <b>upgrade to GPU in Settings</a></b>"} after duplicating the space<br><br>
|
27 |
+
<a href="https://huggingface.co/spaces/fffiloni/spectrogram-to-music?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
28 |
+
"""
|
29 |
).queue(max_size=32, concurrency_count=20).launch(debug=True)
|