juancopi81 commited on
Commit
4e7a676
1 Parent(s): a322e01

Change markdown to html

Browse files
Files changed (1) hide show
  1. main.py +19 -21
main.py CHANGED
@@ -13,37 +13,35 @@ from utils import (
13
  os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
14
 
15
  DESCRIPTION = """
16
-
17
- # 🎵 Multitrack Midi Generator 🎶
18
- This interactive application uses an AI model to generate music sequences based on a chosen genre and various user inputs.
19
 
20
  <table>
21
  <tr>
22
  <td valign="top">
23
-
24
- ## Features:
25
- - 🎼 Select the genre for the music.
26
- - 🌡️ Use the "Temperature" slider to adjust the randomness of the music generated (higher values will produce more random outputs).
27
- - ⏱️ Adjust the "Tempo" slider to change the speed of the music.
28
- - 🎹 Use the buttons to generate a new song from scratch, continue generation with the current settings, remove the last added instrument, regenerate the last added instrument with a new one, or change the tempo of the current song.
29
-
30
  </td>
31
  <td valign="top">
32
-
33
- ## Outputs:
34
- The app outputs the following:
35
-
36
- - 🎧 The audio of the generated song.
37
- - 📁 A MIDI file of the song.
38
- - 📊 A plot of the song's sequence.
39
- - 🎸 A list of the generated instruments.
40
- - 📝 The text sequence of the song.
41
-
42
  </td>
43
  </tr>
44
  </table>
45
 
46
- Enjoy creating your own AI-generated music! 🎵
47
  """
48
 
49
  genres = ["ROCK", "POP", "OTHER", "R&B/SOUL", "JAZZ", "ELECTRONIC", "RANDOM"]
 
13
  os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
14
 
15
  DESCRIPTION = """
16
+ <h1>🎵 Multitrack Midi Generator 🎶</h1>
17
+ <p>This interactive application uses an AI model to generate music sequences based on a chosen genre and various user inputs.</p>
 
18
 
19
  <table>
20
  <tr>
21
  <td valign="top">
22
+ <h2>Features:</h2>
23
+ <ul>
24
+ <li>🎼 Select the genre for the music.</li>
25
+ <li>🌡️ Use the "Temperature" slider to adjust the randomness of the music generated (higher values will produce more random outputs).</li>
26
+ <li>⏱️ Adjust the "Tempo" slider to change the speed of the music.</li>
27
+ <li>🎹 Use the buttons to generate a new song from scratch, continue generation with the current settings, remove the last added instrument, regenerate the last added instrument with a new one, or change the tempo of the current song.</li>
28
+ </ul>
29
  </td>
30
  <td valign="top">
31
+ <h2>Outputs:</h2>
32
+ <p>The app outputs the following:</p>
33
+ <ul>
34
+ <li>🎧 The audio of the generated song.</li>
35
+ <li>📁 A MIDI file of the song.</li>
36
+ <li>📊 A plot of the song's sequence.</li>
37
+ <li>🎸 A list of the generated instruments.</li>
38
+ <li>📝 The text sequence of the song.</li>
39
+ </ul>
 
40
  </td>
41
  </tr>
42
  </table>
43
 
44
+ <p>Enjoy creating your own AI-generated music!</p>
45
  """
46
 
47
  genres = ["ROCK", "POP", "OTHER", "R&B/SOUL", "JAZZ", "ELECTRONIC", "RANDOM"]