updated description
Browse files- playground.py +7 -4
playground.py
CHANGED
|
@@ -132,7 +132,7 @@ def instrument_row(default_inst, row_id):
|
|
| 132 |
|
| 133 |
with gr.Column(scale=3):
|
| 134 |
output_txt = gr.Textbox(
|
| 135 |
-
label="output", lines=
|
| 136 |
)
|
| 137 |
with gr.Column(scale=1, min_width=100):
|
| 138 |
inst_audio = gr.Audio(label="TRACK Audio", show_label=True)
|
|
@@ -158,15 +158,18 @@ def instrument_row(default_inst, row_id):
|
|
| 158 |
with gr.Blocks() as demo:
|
| 159 |
piece_by_track = gr.State([])
|
| 160 |
state = gr.State([])
|
| 161 |
-
title = gr.Markdown(
|
|
|
|
|
|
|
|
|
|
| 162 |
track1_md = gr.Markdown(""" ## Mixed Audio and Piano Roll """)
|
| 163 |
mixed_audio = gr.Audio(label="Mixed Audio")
|
| 164 |
piano_roll = gr.Plot(label="Piano Roll", show_label=False)
|
| 165 |
description = gr.Markdown(
|
| 166 |
"""
|
| 167 |
For each **TRACK** choose your **instrument**, along with **creativity** (temperature) and **note density** and **hit the generate Button** !
|
| 168 |
-
|
| 169 |
-
If you don't like the track, hit the generate button to regenerate it! Generate more tracks and listen to the mixed audio !
|
| 170 |
"""
|
| 171 |
)
|
| 172 |
track1_md = gr.Markdown(""" ## TRACK 1 """)
|
|
|
|
| 132 |
|
| 133 |
with gr.Column(scale=3):
|
| 134 |
output_txt = gr.Textbox(
|
| 135 |
+
label="output", lines=10, max_lines=10, show_label=False
|
| 136 |
)
|
| 137 |
with gr.Column(scale=1, min_width=100):
|
| 138 |
inst_audio = gr.Audio(label="TRACK Audio", show_label=True)
|
|
|
|
| 158 |
with gr.Blocks() as demo:
|
| 159 |
piece_by_track = gr.State([])
|
| 160 |
state = gr.State([])
|
| 161 |
+
title = gr.Markdown(
|
| 162 |
+
""" # Demo-App of The-Jam-Machine
|
| 163 |
+
A Generative AI trained on text transcription of MIDI music """
|
| 164 |
+
)
|
| 165 |
track1_md = gr.Markdown(""" ## Mixed Audio and Piano Roll """)
|
| 166 |
mixed_audio = gr.Audio(label="Mixed Audio")
|
| 167 |
piano_roll = gr.Plot(label="Piano Roll", show_label=False)
|
| 168 |
description = gr.Markdown(
|
| 169 |
"""
|
| 170 |
For each **TRACK** choose your **instrument**, along with **creativity** (temperature) and **note density** and **hit the generate Button** !
|
| 171 |
+
You can have a look at the generated text , but most importantly, check the **piano roll** and listen to the track's generated audio!
|
| 172 |
+
If you don't like the track, hit the generate button to regenerate it! Generate more tracks and listen to the **mixed audio** !
|
| 173 |
"""
|
| 174 |
)
|
| 175 |
track1_md = gr.Markdown(""" ## TRACK 1 """)
|