fffiloni commited on
Commit
fdef21e
β€’
1 Parent(s): 79b4496

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -46,9 +46,10 @@ with gr.Blocks(css="style.css") as demo:
46
  input_img = gr.Image(type="filepath", elem_id="input-img")
47
  sound_output = gr.Video(label="Result", elem_id="sound-output")
48
 
49
- generate = gr.Button("Generate Music from Image")
50
 
51
  gr.HTML(article)
52
- generate.click(infer, inputs=[input_img], outputs=[sound_output], api_name="i2m")
 
53
 
54
  demo.queue(max_size=32, concurrency_count=20).launch()
 
46
  input_img = gr.Image(type="filepath", elem_id="input-img")
47
  sound_output = gr.Video(label="Result", elem_id="sound-output")
48
 
49
+ generate = gr.Button("Generate FX from Image")
50
 
51
  gr.HTML(article)
52
+
53
+ generate.click(infer, inputs=[input_img], outputs=[sound_output], api_name="i2fx")
54
 
55
  demo.queue(max_size=32, concurrency_count=20).launch()