Spaces:
Running
Running
commit
Browse files
app.py
CHANGED
@@ -650,20 +650,21 @@ if __name__ == "__main__":
|
|
650 |
gr.Markdown(f"""
|
651 |
# Song Cover Image Generator
|
652 |
""")
|
653 |
-
|
654 |
-
|
|
|
655 |
placeholder="Artist name",
|
656 |
value="",
|
657 |
container=False,
|
658 |
max_lines=1
|
659 |
-
|
660 |
-
|
661 |
placeholder="Song name",
|
662 |
value="",
|
663 |
container=False,
|
664 |
max_lines=1
|
665 |
-
|
666 |
-
|
667 |
genre = gr.Textbox(
|
668 |
placeholder="Genre (English)",
|
669 |
value="",
|
@@ -677,8 +678,8 @@ if __name__ == "__main__":
|
|
677 |
max_lines=1
|
678 |
)
|
679 |
|
680 |
-
|
681 |
-
|
682 |
|
683 |
run = gr.Button("Generate",elem_classes="btn")
|
684 |
|
|
|
650 |
gr.Markdown(f"""
|
651 |
# Song Cover Image Generator
|
652 |
""")
|
653 |
+
gr.Row():
|
654 |
+
with gr.Column(scale=2):
|
655 |
+
artist = gr.Textbox(
|
656 |
placeholder="Artist name",
|
657 |
value="",
|
658 |
container=False,
|
659 |
max_lines=1
|
660 |
+
)
|
661 |
+
song = gr.Textbox(
|
662 |
placeholder="Song name",
|
663 |
value="",
|
664 |
container=False,
|
665 |
max_lines=1
|
666 |
+
)
|
667 |
+
with gr.Column(scale=2):
|
668 |
genre = gr.Textbox(
|
669 |
placeholder="Genre (English)",
|
670 |
value="",
|
|
|
678 |
max_lines=1
|
679 |
)
|
680 |
|
681 |
+
with gr.Column():
|
682 |
+
cover = gr.Image(interactive=False,container=False,elem_classes="image-container", label="Result", show_label=True, type='filepath', show_share_button=False)
|
683 |
|
684 |
run = gr.Button("Generate",elem_classes="btn")
|
685 |
|