Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gr.Audio blocked by nginx #7531

Closed
1 task done
pseudotensor opened this issue Feb 24, 2024 · 2 comments · Fixed by #7565
Closed
1 task done

gr.Audio blocked by nginx #7531

pseudotensor opened this issue Feb 24, 2024 · 2 comments · Fixed by #7565
Labels
bug Something isn't working

Comments

@pseudotensor
Copy link
Contributor

Describe the bug

gr.Audio playing gets stuck and doesn't play, and then never goes to stop/pause mode after clicking play. However, this only happens for the indirect nginx DNS not the direct port.

#7391 (comment)

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

Just any gr.Audio with some file path.

There are some bad console errors even on startup of app:

image

But new errors appear after trying to view the audio element before pressing play:

image

The element also looks off, no time, should be 1s:

image

Then when clicking play it just gets stuck:

image

Screenshot

No response

Logs

No response

System Info

gradio 4.19.1

Severity

Blocking usage of gradio

@pseudotensor pseudotensor added the bug Something isn't working label Feb 24, 2024
@abidlabs
Copy link
Member

Thanks @pseudotensor looking into this

@abidlabs
Copy link
Member

Noticed that this happens with share links as well:

import gradio as gr

with gr.Blocks() as demo:
    gr.Audio("https://file-examples.com/storage/fe98e6ab1965df346a899de/2017/11/file_example_MP3_700KB.mp3")
    
demo.launch(share=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants