Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
9223243
1
Parent(s):
53bed0d
Update app.py
Browse files
app.py
CHANGED
@@ -600,7 +600,7 @@ with gr.Blocks(theme=theme, css=css) as App:
|
|
600 |
with gr.Column():
|
601 |
inp1 = gr.Textbox(label="为视频配上精彩的文案吧(选填)")
|
602 |
inp2 = new_song
|
603 |
-
gr.Image(source='upload', type='filepath', label="上传一张背景图片吧")
|
604 |
btn = gr.Button("生成您的专属音乐视频吧")
|
605 |
|
606 |
with gr.Column():
|
@@ -616,6 +616,6 @@ with gr.Blocks(theme=theme, css=css) as App:
|
|
616 |
''')
|
617 |
|
618 |
# Launch
|
619 |
-
App.queue(concurrency_count=1, max_size=20).launch(server_name="0.0.0.0", server_port=7860)
|
620 |
|
621 |
# Enjoy
|
|
|
600 |
with gr.Column():
|
601 |
inp1 = gr.Textbox(label="为视频配上精彩的文案吧(选填)")
|
602 |
inp2 = new_song
|
603 |
+
out1 = gr.Image(source='upload', type='filepath', label="上传一张背景图片吧")
|
604 |
btn = gr.Button("生成您的专属音乐视频吧")
|
605 |
|
606 |
with gr.Column():
|
|
|
616 |
''')
|
617 |
|
618 |
# Launch
|
619 |
+
App.queue(concurrency_count=1, max_size=20).launch(server_name="0.0.0.0", server_port=7860, show_error=True)
|
620 |
|
621 |
# Enjoy
|