Update app.py
Browse files
app.py
CHANGED
|
@@ -201,7 +201,13 @@ if __name__ == "__main__":
|
|
| 201 |
print('App start time: {:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now(PDT)))
|
| 202 |
print('=' * 70)
|
| 203 |
|
| 204 |
-
soundfonts = ["SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
|
| 206 |
app = gr.Blocks()
|
| 207 |
|
|
@@ -224,7 +230,7 @@ if __name__ == "__main__":
|
|
| 224 |
|
| 225 |
gr.Markdown("## Select desired render options")
|
| 226 |
|
| 227 |
-
soundfont_bank = gr.Radio(["General MIDI", "Nice strings plus orchestra", "Real choir", "Orpheus", "Super Game Boy"], label="SoundFont bank", value="General MIDI")
|
| 228 |
|
| 229 |
render_sample_rate = gr.Radio(["16000", "32000", "44100"], label="MIDI audio render sample rate", value="16000")
|
| 230 |
|
|
|
|
| 201 |
print('App start time: {:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now(PDT)))
|
| 202 |
print('=' * 70)
|
| 203 |
|
| 204 |
+
soundfonts = ["SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2",
|
| 205 |
+
"Nice-Strings-PlusOrchestra-v1.6.sf2",
|
| 206 |
+
"KBH-Real-Choir-V2.5.sf2",
|
| 207 |
+
"Orpheus_18.06.2020.sf2",
|
| 208 |
+
"SuperGameBoy.sf2",
|
| 209 |
+
"ProtoSquare.sf2"
|
| 210 |
+
]
|
| 211 |
|
| 212 |
app = gr.Blocks()
|
| 213 |
|
|
|
|
| 230 |
|
| 231 |
gr.Markdown("## Select desired render options")
|
| 232 |
|
| 233 |
+
soundfont_bank = gr.Radio(["General MIDI", "Nice strings plus orchestra", "Real choir", "Orpheus", "Super Game Boy", "Proto Square"], label="SoundFont bank", value="General MIDI")
|
| 234 |
|
| 235 |
render_sample_rate = gr.Radio(["16000", "32000", "44100"], label="MIDI audio render sample rate", value="16000")
|
| 236 |
|