fffiloni commited on
Commit
34eddaa
โ€ข
1 Parent(s): 82d80a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -185,7 +185,7 @@ with gr.Blocks(css="style.css") as demo:
185
 
186
  input_img = gr.Image(type="filepath", elem_id="input-img")
187
  music_output = gr.Audio(label="Result", type="filepath", elem_id="music-output").style(height="5rem")
188
- text_status = gr.Textbox(label="status")
189
  with gr.Group(elem_id="share-btn-container"):
190
  community_icon = gr.HTML(community_icon_html, visible=False)
191
  loading_icon = gr.HTML(loading_icon_html, visible=False)
@@ -201,7 +201,7 @@ with gr.Blocks(css="style.css") as demo:
201
 
202
  gr.HTML(article)
203
 
204
- generate.click(get_prompts, inputs=[input_img,track_duration,gen_intensity,gen_mode], outputs=[text_status, share_button, community_icon, loading_icon], api_name="i2m")
205
  share_button.click(None, [], [], _js=share_js)
206
 
207
  demo.queue(max_size=32, concurrency_count=20).launch()
 
185
 
186
  input_img = gr.Image(type="filepath", elem_id="input-img")
187
  music_output = gr.Audio(label="Result", type="filepath", elem_id="music-output").style(height="5rem")
188
+ #text_status = gr.Textbox(label="status")
189
  with gr.Group(elem_id="share-btn-container"):
190
  community_icon = gr.HTML(community_icon_html, visible=False)
191
  loading_icon = gr.HTML(loading_icon_html, visible=False)
 
201
 
202
  gr.HTML(article)
203
 
204
+ generate.click(get_prompts, inputs=[input_img,track_duration,gen_intensity,gen_mode], outputs=[music_output, share_button, community_icon, loading_icon], api_name="i2m")
205
  share_button.click(None, [], [], _js=share_js)
206
 
207
  demo.queue(max_size=32, concurrency_count=20).launch()