mrfakename commited on
Commit
7c7fa4d
1 Parent(s): 186e234

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from musiclib import musicgen
3
  def gen(piano_only):
4
- return musicgen(piano_only)
5
  with gr.Blocks() as demo:
6
  piano_only = gr.Checkbox(label="Piano Only")
7
  synth = gr.Button("Synthesize")
 
1
  import gradio as gr
2
  from musiclib import musicgen
3
  def gen(piano_only):
4
+ return musicgen(piano_only=piano_only)
5
  with gr.Blocks() as demo:
6
  piano_only = gr.Checkbox(label="Piano Only")
7
  synth = gr.Button("Synthesize")