Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -237,14 +237,13 @@ if __name__ == "__main__":
|
|
237 |
example1 = gr.Examples([
|
238 |
[[], "None"],
|
239 |
[["Acoustic Grand"], "None"],
|
240 |
-
[["Acoustic Grand", "Violin", "Viola", "Cello", "Contrabass"
|
|
|
|
|
|
|
241 |
[["Acoustic Guitar(nylon)", "Acoustic Guitar(steel)", "Electric Guitar(jazz)",
|
242 |
"Electric Guitar(clean)", "Electric Guitar(muted)", "Overdriven Guitar", "Distortion Guitar",
|
243 |
-
"Electric Bass(finger)"], "Standard"]
|
244 |
-
[["Flute","Cello","Bassoon","Tuba"],"None"],
|
245 |
-
[["Acoustic Grand", "String Ensemble 1", "Trombone", "Tuba", "Muted Trumpet", "French Horn", "Oboe",
|
246 |
-
"English Horn", "Bassoon", "Clarinet"], "Orchestra"]
|
247 |
-
|
248 |
], [input_instruments, input_drum_kit])
|
249 |
with gr.TabItem("midi prompt") as tab2:
|
250 |
input_midi = gr.File(label="input midi", file_types=[".midi", ".mid"], type="binary")
|
|
|
237 |
example1 = gr.Examples([
|
238 |
[[], "None"],
|
239 |
[["Acoustic Grand"], "None"],
|
240 |
+
[["Acoustic Grand", "Violin", "Viola", "Cello", "Contrabass"], "Orchestra"],
|
241 |
+
[["Flute", "Cello", "Bassoon", "Tuba"], "None"],
|
242 |
+
[["Violin", "Viola", "Cello", "Contrabass", "Trumpet", "French Horn", "Brass Section",
|
243 |
+
"Flute", "Piccolo", "Tuba", "Trombone", "Timpani"], "Orchestra"],
|
244 |
[["Acoustic Guitar(nylon)", "Acoustic Guitar(steel)", "Electric Guitar(jazz)",
|
245 |
"Electric Guitar(clean)", "Electric Guitar(muted)", "Overdriven Guitar", "Distortion Guitar",
|
246 |
+
"Electric Bass(finger)"], "Standard"]
|
|
|
|
|
|
|
|
|
247 |
], [input_instruments, input_drum_kit])
|
248 |
with gr.TabItem("midi prompt") as tab2:
|
249 |
input_midi = gr.File(label="input midi", file_types=[".midi", ".mid"], type="binary")
|