akhaliq HF staff commited on
Commit
c0f3731
ā€¢
1 Parent(s): 6c877a7

add duplication badge

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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)