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

Javascript Error On Roop Unleashed 3.9.0 on Preview and the Start Button #636

Closed
testygit01 opened this issue Apr 26, 2024 · 4 comments
Closed

Comments

@testygit01
Copy link

Describe the bug
The roop unleashed page loads just fine. I can upload the source files and the target file. But the preview doesn't work and nothing happens when I click the start button. If I open javascript console, I get the following error when I click on refresh button on the preview section or the start button to start the face swapping process. I am using kaggle and ngrok.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the roop unleashed app. Upload the source file and the target file.
  2. Click on the 'Refresh' button on the preview image section or the 'Start' button to start the face swapping process. Nothing happens. No preview is loading either.
  3. Open javascript console and click the 'Start' button or the 'Refresh' button again and you will see the following error on the javascript console.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'options')
at _e (index.js:365:12)
at nt (index.js:489:11)
at vS.b (InteractiveImageEditor.svelte:70:6)
at async cC.Z (Index.svelte:82:14)
at async Promise.all (/index 14)
at async Co (Blocks.svelte:227:16)

I am using kaggle notebook and ngrok. I am using GPU T4 X 2 and a Mac computer.

Which version of roop unleashed are you using?

I am using roop 3.9.0

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2024-04-25 at 11 09 22 PM

@testygit01 testygit01 changed the title Javascript Error On Uploded View Preview and the Start Button Javascript Error On Roop Unleased 3.9.0 on Preview and the Start Button Apr 26, 2024
@testygit01 testygit01 changed the title Javascript Error On Roop Unleased 3.9.0 on Preview and the Start Button Javascript Error On Roop Unleashed 3.9.0 on Preview and the Start Button Apr 26, 2024
@testygit01
Copy link
Author

It worked fine until about 12 hours ago. Having this issue on both chrome and edge.

@testygit01
Copy link
Author

Screen Shot 2024-04-25 at 11 42 40 PM

@C0untFloyd
Copy link
Owner

It's a gradio issue, perhaps only affecting Macs. Their forum is currently exploding with browser issues like gradio-app/gradio#8129
gradio-app/gradio#8134 and probably some more.
Try reverting to an older version for example 'pip install gradio==4.24.0'. You could also try the newest one 4.28.0 by just typing 'pip install gradio'. Let us know if it's working.

@testygit01
Copy link
Author

It's working with gradio 4.26 now. Thanks a lot for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants