Jump to content

drbaltar

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by drbaltar

  1. FileNotFoundError: [Errno 2] No such file or directory: '/sd/outputs/txt2vid-samples/986090480_an-apple.mp4'
    
    Traceback:
    
    File "/opt/conda/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 562, in _run_script exec(code, module.__dict__)
    
    File "/sd/scripts/webui_streamlit.py", line 174, in <module> layout()
    
    File "/sd/scripts/webui_streamlit.py", line 146, in layout layout()
    
    File "/sd/scripts/txt2vid.py", line 787, in layout video, seed, info, stats = txt2vid(prompts=prompt, gpu=st.session_state["defaults"].general.gpu,
    
    File "/sd/scripts/txt2vid.py", line 572, in txt2vid st.session_state["preview_video"].video(open(video_path, 'rb').read())

     

    I get the following when using txt2video.  The preview images are shown, but at the end no video is displayed.

  2. Here's what I did,  hopefully this helps

     

    1)  Install "Docker Compose Manager" from the app store

     

    2) go into a terminal (or ssh into your box)  and make a directory for stable diffusion.   I put it on my cache drive so it was /mnt/cache

     

    3) cd into that directory and type wget https://github.com/AbdBarho/stable-diffusion-webui-docker/archive/refs/heads/master.zip

     

    4) unzip the resulting file  ie. unzip master.zip

     

    5) go into the dir you just unzipped and type "docker compose --profile auto up --build"   That might take a while,  maybe even a few hours.  It'll

    download the models to your machine.  Once it's done,  it'll say something like :  Running on local URL:  http://0.0.0.0:7860

     

    6) go into a browser and  enter   yourIP:7860

     

    That should do it.   The container will show up in the gui as well.

     

     

    Notes:

     

      subsequent restarts won't take hours,  it'll be pretty quick

     

    you probably want GPU drivers up and running before hand as well.

    • Like 4
×
×
  • Create New...