adexinc commited on
Commit
78c6406
·
verified ·
1 Parent(s): 0b992f6

Align YuE2 dependencies with Gradio 5

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. __pycache__/app.cpython-312.pyc +0 -0
  3. app.py +7 -2
README.md CHANGED
@@ -4,9 +4,9 @@ emoji: 🎵
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 6.27.0
8
  app_file: app.py
9
- python_version: "3.12"
10
  short_description: Turn lyrics into songs and edit their musical scores
11
  startup_duration_timeout: 1h
12
  models:
 
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 5.49.1
8
  app_file: app.py
9
+ python_version: "3.10.13"
10
  short_description: Turn lyrics into songs and edit their musical scores
11
  startup_duration_timeout: 1h
12
  models:
__pycache__/app.cpython-312.pyc CHANGED
Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ
 
app.py CHANGED
@@ -82,7 +82,12 @@ CSS = """
82
  #hero p {color:#c7d2fe!important;font-size:16px}
83
  #generate {min-height:52px;font-weight:700}
84
  """
85
- with gr.Blocks(title="YuE2 Studio", delete_cache=(3600, 86400)) as demo:
 
 
 
 
 
86
  gr.HTML('<section id="hero"><p>YuE2 / MUSIC STUDIO</p><h1>Give your words a soundtrack.</h1><p>Write the lyrics. Set the mood. Create a song with vocals and accompaniment.</p></section>')
87
  with gr.Row():
88
  with gr.Column(scale=3):
@@ -107,4 +112,4 @@ with gr.Blocks(title="YuE2 Studio", delete_cache=(3600, 86400)) as demo:
107
  gr.File(value="comfyui-workflow.json", label="Official ComfyUI text-to-music workflow", interactive=False)
108
 
109
  if __name__ == "__main__":
110
- demo.queue(max_size=12, default_concurrency_limit=1).launch(theme=gr.themes.Soft(primary_hue="indigo"), css=CSS, mcp_server=True)
 
82
  #hero p {color:#c7d2fe!important;font-size:16px}
83
  #generate {min-height:52px;font-weight:700}
84
  """
85
+ with gr.Blocks(
86
+ title="YuE2 Studio",
87
+ theme=gr.themes.Soft(primary_hue="indigo"),
88
+ css=CSS,
89
+ delete_cache=(3600, 86400),
90
+ ) as demo:
91
  gr.HTML('<section id="hero"><p>YuE2 / MUSIC STUDIO</p><h1>Give your words a soundtrack.</h1><p>Write the lyrics. Set the mood. Create a song with vocals and accompaniment.</p></section>')
92
  with gr.Row():
93
  with gr.Column(scale=3):
 
112
  gr.File(value="comfyui-workflow.json", label="Official ComfyUI text-to-music workflow", interactive=False)
113
 
114
  if __name__ == "__main__":
115
+ demo.queue(max_size=12, default_concurrency_limit=1).launch(mcp_server=True)