radames / Real-Time-Latent-Consistency-Model

App showcasing multiple real-time diffusion models pipelines with Diffusers
https://huggingface.co/spaces/radames/Real-Time-Latent-Consistency-Model
Apache License 2.0
862 stars 101 forks source link

No Webcam #17

Closed ameen-roayan closed 10 months ago

ameen-roayan commented 10 months ago

Hello Everyone, for some reason i cant find the option to select a webcam on brave.

image

Any idea on why its not figuring it out ?

radames commented 10 months ago

hi @ameen-roayan , it's a recurrent issue due to browser security issues, you need to serve with a self signed SSL

https://github.com/radames/Real-Time-Latent-Consistency-Model/issues/10#issuecomment-1806926430

ameen-roayan commented 10 months ago

Oh i did those steps but i am still getting stuck on the next step image

ameen-roayan commented 10 months ago

image Actually there are quite a few options missing, its as if there are 2 different index.HTML being loaded

radames commented 10 months ago

hi from your first screenshot, it look like something went wrong with the SSL image

The camera options can only be enumerated when the user gives access to the media via browser, that's why you don't see any option there

ameen-roayan commented 10 months ago

I have tried the proposed method of getting a signed SSL certificate, nothing wanted to go through, tried several browsers as well but it just wont ever be considered valid for some reason

radames commented 10 months ago

hi @ameen-roayan on chrome you can try this http://localhost:7860,http://0.0.0.0:7860 here chrome://flags/#unsafely-treat-insecure-origin-as-secure

image

ameen-roayan commented 10 months ago

Thank you ! that solved it