MantraDas commited on
Commit
0b5812c
1 Parent(s): 8aafaec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -181,10 +181,8 @@ def ui_full(launch_kwargs):
181
  with gr.Blocks() as interface:
182
  gr.Markdown(
183
  """
184
- # MusicGen
185
- This is your private demo for [MusicGen](https://github.com/facebookresearch/audiocraft),
186
- a simple and controllable model for music generation
187
- presented at: ["Simple and Controllable Music Generation"](https://huggingface.co/papers/2306.05284)
188
  """
189
  )
190
  with gr.Row():
@@ -204,14 +202,14 @@ def ui_full(launch_kwargs):
204
  model = gr.Radio(["melody", "medium", "small", "large"],
205
  label="Model", value="melody", interactive=True)
206
  with gr.Row():
207
- duration = gr.Slider(minimum=1, maximum=120, value=10, label="Duration", interactive=True)
208
  with gr.Row():
209
- topk = gr.Number(label="Top-k", value=250, interactive=True)
210
- topp = gr.Number(label="Top-p", value=0, interactive=True)
211
- temperature = gr.Number(label="Temperature", value=1.0, interactive=True)
212
- cfg_coef = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
213
  with gr.Column():
214
- output = gr.Video(label="Generated Music")
215
  submit.click(predict_full,
216
  inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef],
217
  outputs=[output])
 
181
  with gr.Blocks() as interface:
182
  gr.Markdown(
183
  """
184
+ # Cyberpunk DJ
185
+ This is a cyberpunk DJ app used to make FUTURISTIC 31st CENTURY AI HIP HOP BEATS
 
 
186
  """
187
  )
188
  with gr.Row():
 
202
  model = gr.Radio(["melody", "medium", "small", "large"],
203
  label="Model", value="melody", interactive=True)
204
  with gr.Row():
205
+ duration = gr.Slider(minimum=1, maximum=30, value=30, label="Duration", interactive=True)
206
  with gr.Row():
207
+ topk = gr.Number(label="Randomness Value", value=250, interactive=True)
208
+ topp = gr.Number(label="Beat Tweaking Value", value=0, interactive=True)
209
+ temperature = gr.Number(label="Dubstep Glitch Value", value=1.0, interactive=True)
210
+ cfg_coef = gr.Number(label="Beatnik Trip Hop Value", value=3.0, interactive=True)
211
  with gr.Column():
212
+ output = gr.Video(label="Finished Cypberpunk DJ Masterpiece Audio File")
213
  submit.click(predict_full,
214
  inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef],
215
  outputs=[output])