reach-vb HF staff commited on
Commit
f1a443d
1 Parent(s): 5cd2ef0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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='gstaff/xkcd',
 
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)