Spaces:
Sleeping
Sleeping
commit
Browse files
app.py
CHANGED
@@ -215,14 +215,15 @@ if __name__ == "__main__":
|
|
215 |
)
|
216 |
with gr.Row():
|
217 |
run = gr.Button("Generate",elem_classes="btn")
|
218 |
-
run.click(
|
219 |
-
fn=handle_generate,
|
220 |
-
inputs=[artist,song,genre,lyrics],
|
221 |
-
outputs=[cover]
|
222 |
-
)
|
223 |
with gr.Row():
|
224 |
cover = gr.Image(interactive=False,container=False,elem_classes="image-container", label="Result", show_label=True, type='filepath', show_share_button=False)
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
demo.queue().launch()
|
227 |
|
228 |
# end
|
|
|
215 |
)
|
216 |
with gr.Row():
|
217 |
run = gr.Button("Generate",elem_classes="btn")
|
|
|
|
|
|
|
|
|
|
|
218 |
with gr.Row():
|
219 |
cover = gr.Image(interactive=False,container=False,elem_classes="image-container", label="Result", show_label=True, type='filepath', show_share_button=False)
|
220 |
|
221 |
+
run.click(
|
222 |
+
fn=handle_generate,
|
223 |
+
inputs=[artist,song,genre,lyrics],
|
224 |
+
outputs=[cover]
|
225 |
+
)
|
226 |
+
|
227 |
demo.queue().launch()
|
228 |
|
229 |
# end
|