Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,8 +28,8 @@ This enables training on a wide range of transcription datasets with a single mo
|
|
| 28 |
|
| 29 |
They use a simple two-stage process: MIDI to spectrograms with an encoder-decoder Transformer, then spectrograms to audio with a generative adversarial network (GAN) spectrogram inverter.
|
| 30 |
"""
|
| 31 |
-
examples = []
|
| 32 |
|
|
|
|
| 33 |
|
| 34 |
gr.Interface(
|
| 35 |
fn=predict,
|
|
@@ -41,5 +41,6 @@ gr.Interface(
|
|
| 41 |
],
|
| 42 |
title=title,
|
| 43 |
description=description,
|
| 44 |
-
theme='
|
|
|
|
| 45 |
).launch(debug=True)
|
|
|
|
| 28 |
|
| 29 |
They use a simple two-stage process: MIDI to spectrograms with an encoder-decoder Transformer, then spectrograms to audio with a generative adversarial network (GAN) spectrogram inverter.
|
| 30 |
"""
|
|
|
|
| 31 |
|
| 32 |
+
examples = ["examples/beethoven_mond_2.mid", "examples/beethoven_hammerklavier_2.mid"]
|
| 33 |
|
| 34 |
gr.Interface(
|
| 35 |
fn=predict,
|
|
|
|
| 41 |
],
|
| 42 |
title=title,
|
| 43 |
description=description,
|
| 44 |
+
theme='gradio/monochrome',
|
| 45 |
+
examples=examples,
|
| 46 |
).launch(debug=True)
|