ACE-Step Custom commited on
Commit
9259263
·
1 Parent(s): 4709141

Add loguru dependency and fix Gradio 4.0.0 compatibility

Browse files
Files changed (4) hide show
  1. README.md +1 -1
  2. README_HF.md +1 -1
  3. app.py +4 -4
  4. requirements.txt +1 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🎵
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 4.0.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
README_HF.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🎵
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 4.0.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -403,10 +403,10 @@ def create_ui():
403
 
404
  with gr.Column():
405
  gr.Markdown("### Audio Input (Optional)")
 
406
  std_audio_input = gr.Audio(
407
  label="Style Reference Audio",
408
- type="filepath",
409
- info="Upload audio file or record to use as style guidance"
410
  )
411
 
412
  gr.Markdown("### Generated Output")
@@ -478,10 +478,10 @@ def create_ui():
478
  lines=4
479
  )
480
 
 
481
  tl_context_length = gr.Slider(
482
  minimum=0, maximum=120, value=30, step=10,
483
- label="Context Length (seconds)",
484
- info="How far back to reference for style guidance"
485
  )
486
 
487
  with gr.Row():
 
403
 
404
  with gr.Column():
405
  gr.Markdown("### Audio Input (Optional)")
406
+ gr.Markdown("*Upload audio file or record to use as style guidance*")
407
  std_audio_input = gr.Audio(
408
  label="Style Reference Audio",
409
+ type="filepath"
 
410
  )
411
 
412
  gr.Markdown("### Generated Output")
 
478
  lines=4
479
  )
480
 
481
+ gr.Markdown("*How far back to reference for style guidance*")
482
  tl_context_length = gr.Slider(
483
  minimum=0, maximum=120, value=30, step=10,
484
+ label="Context Length (seconds)"
 
485
  )
486
 
487
  with gr.Row():
requirements.txt CHANGED
@@ -8,6 +8,7 @@ accelerate>=0.25.0
8
  spaces>=0.25.0
9
  sentencepiece>=0.1.99
10
  protobuf>=3.20.0
 
11
 
12
  # ACE-Step 1.5 Dependencies (included as local module)
13
  xformers>=0.0.20
 
8
  spaces>=0.25.0
9
  sentencepiece>=0.1.99
10
  protobuf>=3.20.0
11
+ loguru>=0.7.0
12
 
13
  # ACE-Step 1.5 Dependencies (included as local module)
14
  xformers>=0.0.20