fffiloni commited on
Commit
fba55a6
β€’
1 Parent(s): 02b84d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -34,18 +34,11 @@ title = """
34
  </div>
35
  <p style="margin-bottom: 10px;font-size: 94%;font-weight: 100;line-height: 1.5em;">
36
  Describe a musical prompt, generate music by getting a spectrogram image & sound.
37
-
38
- <p style="font-size: 94%">
39
- Do you need faster results ? You can skip the queue by duplicating this space:
40
- <span style="display: flex;align-items: center;justify-content: center;height: 30px;">
41
- <a href="https://huggingface.co/fffiloni/spectrogram-to-music?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
42
- </span>
43
- </p>
44
  </div>
45
  """
46
 
47
  article = """
48
- <p style="font-size: 0.8em;line-height: 1.2em;">
49
  About the model: Riffusion is a latent text-to-image diffusion model capable of generating spectrogram images given any text input. These spectrograms can be converted into audio clips.
50
  <br />β€”
51
  <br />The Riffusion model was created by fine-tuning the Stable-Diffusion-v1-5 checkpoint.
@@ -57,9 +50,16 @@ article = """
57
  <div class="footer">
58
  <p>
59
  <a href="https://huggingface.co/riffusion/riffusion-model-v1" target="_blank">Riffusion model</a> by Seth Forsgren and Hayk Martiros -
60
- Gradio Demo by πŸ€— <a href="https://twitter.com/fffiloni" target="_blank">Sylvain Filoni</a>
61
  </p>
62
  </div>
 
 
 
 
 
 
 
63
  """
64
 
65
  css = '''
 
34
  </div>
35
  <p style="margin-bottom: 10px;font-size: 94%;font-weight: 100;line-height: 1.5em;">
36
  Describe a musical prompt, generate music by getting a spectrogram image & sound.
 
 
 
 
 
 
 
37
  </div>
38
  """
39
 
40
  article = """
41
+ <p style="font-size: 0.8em;line-height: 1.2em;border: 1px solid #374151;border-radius: 8px;padding: 20px;">
42
  About the model: Riffusion is a latent text-to-image diffusion model capable of generating spectrogram images given any text input. These spectrograms can be converted into audio clips.
43
  <br />β€”
44
  <br />The Riffusion model was created by fine-tuning the Stable-Diffusion-v1-5 checkpoint.
 
50
  <div class="footer">
51
  <p>
52
  <a href="https://huggingface.co/riffusion/riffusion-model-v1" target="_blank">Riffusion model</a> by Seth Forsgren and Hayk Martiros -
53
+ Demo by πŸ€— <a href="https://twitter.com/fffiloni" target="_blank">Sylvain Filoni</a>
54
  </p>
55
  </div>
56
+
57
+ <p style="font-size: 94%">
58
+ Do you need faster results ? You can skip the queue by duplicating this space:
59
+ <span style="display: flex;align-items: center;justify-content: center;height: 30px;">
60
+ <a href="https://huggingface.co/fffiloni/spectrogram-to-music?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
61
+ </span>
62
+ </p>
63
  """
64
 
65
  css = '''