Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -398,10 +398,10 @@ with gr.Blocks(css=css) as demo:
|
|
398 |
""")
|
399 |
|
400 |
#infer_btn.click(fn=infer, inputs=[audio_input], outputs=[lpmc_cap, llama_trans_cap, img_result])
|
401 |
-
yt_load_btn.click(fn=load_youtube_audio, inputs=[youtube_link], outputs=[audio_input], queue=False, api_name=False
|
402 |
infer_btn.click(fn=infer, inputs=[audio_input, has_lyrics], outputs=[processed_audio, img_result, llama_trans_cap, tryagain_btn, share_group])
|
403 |
share_button.click(None, [], [], _js=share_js)
|
404 |
tryagain_btn.click(fn=solo_xd, inputs=[llama_trans_cap], outputs=[img_result])
|
405 |
get_visualizer_vid.click(fn=get_visualizer_video, inputs=[processed_audio, img_result, song_title], outputs=[visualizer_video], queue=False)
|
406 |
|
407 |
-
demo.queue(max_size=20).launch()
|
|
|
398 |
""")
|
399 |
|
400 |
#infer_btn.click(fn=infer, inputs=[audio_input], outputs=[lpmc_cap, llama_trans_cap, img_result])
|
401 |
+
yt_load_btn.click(fn=load_youtube_audio, inputs=[youtube_link], outputs=[audio_input], queue=False, api_name=False)
|
402 |
infer_btn.click(fn=infer, inputs=[audio_input, has_lyrics], outputs=[processed_audio, img_result, llama_trans_cap, tryagain_btn, share_group])
|
403 |
share_button.click(None, [], [], _js=share_js)
|
404 |
tryagain_btn.click(fn=solo_xd, inputs=[llama_trans_cap], outputs=[img_result])
|
405 |
get_visualizer_vid.click(fn=get_visualizer_video, inputs=[processed_audio, img_result, song_title], outputs=[visualizer_video], queue=False)
|
406 |
|
407 |
+
demo.queue(max_size=20).launch(api_open=False)
|