Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Commit
•
7c7fa4d
1
Parent(s):
186e234
Update app.py
Browse files
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")
|