anthonyrusso commited on
Commit
5c7399e
1 Parent(s): 38b99ff

debug duration

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -221,8 +221,8 @@ def ui_full(launch_kwargs):
221
  # decoder = gr.Radio(["Default", "MultiBand_Diffusion"],
222
  # label="Decoder", value="Default", interactive=True)
223
  # decoder = "Default"
224
- # with gr.Row():
225
- # duration = gr.Slider(minimum=1, maximum=120, value=10, label="Duration", interactive=True)
226
  # with gr.Row():
227
  # topk = gr.Number(label="Top-k", value=250, interactive=True)
228
  # topp = gr.Number(label="Top-p", value=0, interactive=True)
@@ -239,7 +239,7 @@ def ui_full(launch_kwargs):
239
  interactive=False, visible= False, elem_id="melody-input")
240
  decoder = gr.Radio(["Default", "MultiBand_Diffusion"],
241
  label="Decoder", value="Default", interactive=True, visible= False)
242
- duration = gr.Slider(minimum=1, maximum=120, value=10, label="Duration", interactive=True, visible= False)
243
  topk = gr.Number(label="Top-k", value=250, interactive=True, visible= False)
244
  topp = gr.Number(label="Top-p", value=0, interactive=True, visible= False)
245
  temperature = gr.Number(label="Temperature", value=1.0, interactive=True, visible= False)
 
221
  # decoder = gr.Radio(["Default", "MultiBand_Diffusion"],
222
  # label="Decoder", value="Default", interactive=True)
223
  # decoder = "Default"
224
+ with gr.Row():
225
+ duration = gr.Slider(minimum=1, maximum=120, value=10, label="Duration", interactive=True)
226
  # with gr.Row():
227
  # topk = gr.Number(label="Top-k", value=250, interactive=True)
228
  # topp = gr.Number(label="Top-p", value=0, interactive=True)
 
239
  interactive=False, visible= False, elem_id="melody-input")
240
  decoder = gr.Radio(["Default", "MultiBand_Diffusion"],
241
  label="Decoder", value="Default", interactive=True, visible= False)
242
+ # duration = gr.Slider(minimum=1, maximum=120, value=10, label="Duration", interactive=True, visible= False)
243
  topk = gr.Number(label="Top-k", value=250, interactive=True, visible= False)
244
  topp = gr.Number(label="Top-p", value=0, interactive=True, visible= False)
245
  temperature = gr.Number(label="Temperature", value=1.0, interactive=True, visible= False)