Spaces:
Running
on
Zero
Running
on
Zero
hkchen
commited on
Commit
·
f0f1b62
1
Parent(s):
34ded66
fix bug in best practice guide
Browse files
app.py
CHANGED
@@ -222,28 +222,28 @@ with gr.Blocks(css=css) as demo:
|
|
222 |
with gr.Accordion("Best Practices Guide", open=True):
|
223 |
gr.Markdown("""
|
224 |
1. **Lyrics Format Requirements**
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
|
232 |
2. **Generation Duration Limits**
|
233 |
-
|
234 |
-
|
235 |
|
236 |
3. **Audio Prompt Requirements**
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
|
241 |
4. **Supported Languages**
|
242 |
-
|
243 |
-
|
244 |
|
245 |
5. **Others**
|
246 |
-
|
247 |
""")
|
248 |
# Music_Duration = gr.Radio(["95s", "285s"], label="Music Duration", value="95s")
|
249 |
Music_Duration = gr.Slider(
|
|
|
222 |
with gr.Accordion("Best Practices Guide", open=True):
|
223 |
gr.Markdown("""
|
224 |
1. **Lyrics Format Requirements**
|
225 |
+
- Each line must follow: `[mm:ss.xx]Lyric content`
|
226 |
+
- Example of valid format:
|
227 |
+
```
|
228 |
+
[00:10.00]Moonlight spills through broken blinds
|
229 |
+
[00:13.20]Your shadow dances on the dashboard shrine
|
230 |
+
```
|
231 |
|
232 |
2. **Generation Duration Limits**
|
233 |
+
- The generated music must be between **95 seconds (1:35)** and **285 seconds (4:45)** in length
|
234 |
+
- The latest valid lyric timestamp cannot exceed **04:45.00 (285s)**
|
235 |
|
236 |
3. **Audio Prompt Requirements**
|
237 |
+
- Reference audio should be ≥ 1 second, Audio >10 seconds will be randomly clipped into 10 seconds
|
238 |
+
- For optimal results, the 10-second clips should be carefully selected
|
239 |
+
- Shorter clips may lead to incoherent generation
|
240 |
|
241 |
4. **Supported Languages**
|
242 |
+
- Chinese and English
|
243 |
+
- More languages comming soon
|
244 |
|
245 |
5. **Others**
|
246 |
+
- If loading audio result is slow, you can select Output Format as mp3 in Advanced Settings.
|
247 |
""")
|
248 |
# Music_Duration = gr.Radio(["95s", "285s"], label="Music Duration", value="95s")
|
249 |
Music_Duration = gr.Slider(
|