Spaces:
Running
Running
ziqiangao
commited on
Commit
·
8c33769
1
Parent(s):
0706d7d
update ui
Browse files
app.py
CHANGED
@@ -309,12 +309,12 @@ with gr.Blocks() as demo:
|
|
309 |
# Inputs on the left
|
310 |
with gr.Column():
|
311 |
with gr.Accordion(label="Audio Settings", open=True):
|
312 |
-
gr.Markdown('
|
313 |
audio_file = gr.File(label="Upload your MP3 file", file_count='single', file_types=['mp3'])
|
314 |
|
315 |
|
316 |
with gr.Accordion(label="Video Output Settings", open=False):
|
317 |
-
gr.Markdown('
|
318 |
output_name = gr.Textbox(label="Output Video Name", value='Output')
|
319 |
fps_slider = gr.Slider(label="Frames per Second", minimum=20, maximum=60, step=1, value=30)
|
320 |
vidwidth_slider = gr.Slider(label="Output Video Width", minimum=100, maximum=2000, value=1280, step=2)
|
@@ -326,7 +326,7 @@ with gr.Blocks() as demo:
|
|
326 |
lyrics_file = gr.File(label="(Optional) Upload Lyrics as LRC or SRT", file_count='single', file_types=['lrc', 'srt'])
|
327 |
|
328 |
with gr.Accordion(label="Mp3 Metadata", open=False):
|
329 |
-
gr.Markdown('
|
330 |
cover_img = gr.Image(label='Cover Art', type="filepath")
|
331 |
title_input = gr.Textbox(label='Title')
|
332 |
artist_input = gr.Textbox(label='Artists')
|
|
|
309 |
# Inputs on the left
|
310 |
with gr.Column():
|
311 |
with gr.Accordion(label="Audio Settings", open=True):
|
312 |
+
gr.Markdown('## Load your mp3 file here')
|
313 |
audio_file = gr.File(label="Upload your MP3 file", file_count='single', file_types=['mp3'])
|
314 |
|
315 |
|
316 |
with gr.Accordion(label="Video Output Settings", open=False):
|
317 |
+
gr.Markdown('## Configure Video Output Here')
|
318 |
output_name = gr.Textbox(label="Output Video Name", value='Output')
|
319 |
fps_slider = gr.Slider(label="Frames per Second", minimum=20, maximum=60, step=1, value=30)
|
320 |
vidwidth_slider = gr.Slider(label="Output Video Width", minimum=100, maximum=2000, value=1280, step=2)
|
|
|
326 |
lyrics_file = gr.File(label="(Optional) Upload Lyrics as LRC or SRT", file_count='single', file_types=['lrc', 'srt'])
|
327 |
|
328 |
with gr.Accordion(label="Mp3 Metadata", open=False):
|
329 |
+
gr.Markdown('## Add Metadata here if your mp3 does not have one')
|
330 |
cover_img = gr.Image(label='Cover Art', type="filepath")
|
331 |
title_input = gr.Textbox(label='Title')
|
332 |
artist_input = gr.Textbox(label='Artists')
|