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

Deprecation Warning #241

Open
navin-hariharan opened this issue Sep 9, 2023 · 2 comments
Open

Deprecation Warning #241

navin-hariharan opened this issue Sep 9, 2023 · 2 comments

Comments

@navin-hariharan
Copy link

D:\DEV\AI-PROJECTS\stable-diffusion-webui\extensions\sd-webui-roop-main\scripts\faceswap.py:38: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
img = gr.inputs.Image(type="pil")
D:\DEV\AI-PROJECTS\stable-diffusion-webui\modules\gradio_extensons.py:25: GradioDeprecationWarning: optional parameter is deprecated, and it has no effect
res = original_IOComponent_init(self, *args, **kwargs)
D:\DEV\AI-PROJECTS\stable-diffusion-webui\extensions\sd-webui-roop-main\scripts\faceswap.py:55: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
upscaler_name = gr.inputs.Dropdown(
D:\DEV\AI-PROJECTS\stable-diffusion-webui\extensions\sd-webui-roop-main\scripts\faceswap.py:74: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
model = gr.inputs.Dropdown(

@iytbqi
Copy link

iytbqi commented Oct 19, 2023

I have the same issue,Did you get it done?

@donaldafeith
Copy link

donaldafeith commented Oct 22, 2023

The author of Roop shut down the project. You can read more about it here.
https://www.reddit.com/r/StableDiffusion/comments/15xor4n/roop_base_for_faceswap_extension_was_discontinued/

I decided to fix the deprecation error for everyone. If anyone is having this problem... Go in to stable-diffusion-webui\extensions\sd-webui-roop\scripts and replace the code in faceswap.py with the one from my gist.

faceswap.py

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

3 participants