Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(css=css) as demo:
|
|
105 |
infer_btn = gr.Button("Generate Image from Music")
|
106 |
#lpmc_cap = gr.Textbox(label="Lp Music Caps caption")
|
107 |
#llama_trans_cap = gr.Textbox(label="Llama translation")
|
108 |
-
img_result = gr.
|
109 |
|
110 |
#infer_btn.click(fn=infer, inputs=[audio_input], outputs=[lpmc_cap, llama_trans_cap, img_result])
|
111 |
infer_btn.click(fn=infer, inputs=[audio_input], outputs=[img_result])
|
|
|
105 |
infer_btn = gr.Button("Generate Image from Music")
|
106 |
#lpmc_cap = gr.Textbox(label="Lp Music Caps caption")
|
107 |
#llama_trans_cap = gr.Textbox(label="Llama translation")
|
108 |
+
img_result = gr.Gallery(label="Result", grid=2)
|
109 |
|
110 |
#infer_btn.click(fn=infer, inputs=[audio_input], outputs=[lpmc_cap, llama_trans_cap, img_result])
|
111 |
infer_btn.click(fn=infer, inputs=[audio_input], outputs=[img_result])
|