Home Artists Posts Import Register

Downloads

Content

Patreon exclusive posts index

Join discord and tell me your discord username to get a special rank : SECourses Discord

29 March 2024 Update

  • Libraries updated to latest to work better
  • Now cache files downloaded into workspace so you can turn off pod and start using again immediately
  • Install & Run Instructions updated and made better

27 September 2023 Major Update

  • Added so many new options
  • Also it will now auto save all images inside outputs folder

Install Instructions

Run Below Command To Install

  • export HF_HOME="/workspace"
  • chmod +x install.sh
  • ./install.sh

After installation has been completed run below command to start the app

To Start The App

  • export HF_HOME="/workspace"
  • cd /workspace/background-replacement
  • source venv/bin/activate
  • python app.py --share

You can also remove --share and use proxy connect 7860 but it is not working good right now. So use Gradio share. 

This will give you a gradio shared link like below

Some examples


Files

Comments

Anonymous

dear teacher, i run on RunPod, show error: segmenter import init as init_segmenter, segment ModuleNotFoundError: No module named 'segmenter' ---can you help me?

Anonymous

Hello. i try to use this code on Paperspace. but it showed "Traceback (most recent call last): File "/notebooks/background-replacement/app2.py", line 2, in import gradio as gr ModuleNotFoundError: No module named 'gradio'"  I thought gradio had been already installed, what do you think? I should not use Paperspace?

Dmitry

If you encounter a terminal malfunction problem (it is impossible to insert a command into the terminal), stop the pod and start it again, and the terminal will work as it should

Dmitry

Tell me, please, how can I change the generation model?