dchatel / vid-faceswap

32 stars 3 forks source link

Faceswap Tab Not Visible #10

Open nitinmukesh opened 9 months ago

nitinmukesh commented 9 months ago

Here is the error

venv "C:\stable_diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
hello from vidfaceswap
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Style database not found: C:\stable_diffusion\stable-diffusion-webui\styles.csv
ControlNet preprocessor location: C:\stable_diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-02-08 16:55:41,786 - ControlNet - INFO - ControlNet v1.1.440
2024-02-08 16:55:41,935 - ControlNet - INFO - ControlNet v1.1.440
*** Error loading script: vid_faceswap.py
    Traceback (most recent call last):
      File "C:\stable_diffusion\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\stable_diffusion\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\stable_diffusion\stable-diffusion-webui\extensions\vid-faceswap\scripts\vid_faceswap.py", line 15, in <module>
        from modules.ui import create_sampler_and_steps_selection, create_seed_inputs, create_refresh_button
    ImportError: cannot import name 'create_seed_inputs' from 'modules.ui' (C:\stable_diffusion\stable-diffusion-webui\modules\ui.py)

---
Loading weights [ef76aa2332] from C:\stable_diffusion\stable-diffusion-webui\models\Stable-diffusion\realisticVisionV60B1_v51VAE.safetensors
2024-02-08 16:55:43,011 - ControlNet - INFO - ControlNet UI callback registered.
*Deforum ControlNet support: enabled*
Creating model from config: C:\stable_diffusion\stable-diffusion-webui\configs\v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 16.0s (prepare environment: 5.8s, import torch: 3.4s, import gradio: 1.1s, setup paths: 1.1s, initialize shared: 0.6s, other imports: 0.8s, setup codeformer: 0.1s, load scripts: 2.1s, create ui: 0.7s, gradio launch: 0.3s).
Applying attention optimization: Doggettx... done.
Model loaded in 5.8s (load weights from disk: 0.7s, create model: 0.4s, apply weights to model: 4.1s, apply half(): 0.1s, load VAE: 0.2s, calculate empty prompt: 0.1s).

I have installed insightface 0.7.3