Linaqruf / sd-notebook-collection

210 stars 43 forks source link

Stack overflow: Internal server error 500 happened #77

Open andersenryu opened 1 year ago

andersenryu commented 1 year ago

stack over flow 500 Could anyone know how to solve this problem? Currently using Colab Pro, but this happens to me and it just disconnects in 5 minutes. It's so annoying, and I need someone to fix this.

wattzombie commented 1 year ago

reload again, did you make the changes? in :

place in the first cell code : "instal cag liostro colab"

and add :

prefix = "cag" suffix = "liostro-colab-ui".

before "# @markdown ### Drive Config".

---------------------------------------------------copy------------------------------------------------- ################################

COLAB ARGUMENTS GOES HERE

################################ prefix = "cag" suffix = "liostro-colab-ui"

@markdown ### Drive Config

mount_drive = True # @param {type:'boolean'} output_drive_folder = prefix + suffix #@param {type:'string'}

@markdown ### Repo Config

repo_type = "Anapnoe" #@param ["AUTOMATIC1111", "AUTOMATIC1111-Dev", "Anapnoe"] update_webui = False # @param {type:'boolean'} update_extensions = False # @param {type:'boolean'} commit_hash = "" # @param {type:'string'} dpmpp_2m_v2_patch = True # @param {type:'boolean'}

@markdown ### Optimization Config

@markdown > It's not recommended to set params below to True if you have Colab Pro subscription.

colab_optimizations = True # @param {type:'boolean'}

@markdown > Specify mobile_optimizations to keep colab tab alive for mobile users

mobile_optimizations = False # @param {type:'boolean'}

################################

DIRECTORY CONFIG

################################

VAR

voldemort, voldy = read("kq6ZmHFU")[:2]

ROOT DIR

root_dir = "/content" drive_dir = os.path.join(root_dir, "drive", "MyDrive") repo_dir = os.path.join(root_dir, prefix + suffix) tmp_dir = os.path.join(root_dir, "tmp") patches_dir = os.path.join(root_dir, "patches") deps_dir = os.path.join(root_dir, "deps") fused_dir = os.path.join(root_dir, "fused")


this is important because colab when identifying "cagliostro" at the time of loading, it starts blocking and errors are displayed.

so far this is the only thing that makes the notebook work well. let's wait for the "master" to come back.