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

Checkpoint File Import #413

Merged
merged 6 commits into from
Dec 11, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion absolute_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ def absolute_path(component: str):
"""
return os.path.join(os.path.dirname(os.path.realpath(__file__)), component)

WEIGHTS_PATH = absolute_path("weights/stable-diffusion-v1.4/")
REAL_ESRGAN_WEIGHTS_PATH = absolute_path("weights/realesrgan/realesr-general-x4v3.pth")
CLIPSEG_WEIGHTS_PATH = absolute_path("weights/clipseg/rd64-uni.pth")
3 changes: 1 addition & 2 deletions classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .operators.upscale import Upscale
from .property_groups.dream_prompt import DreamPrompt
from .ui.panels import dream_texture, history, upscaling, render_properties
from .preferences import OpenHuggingFace, OpenContributors, StableDiffusionPreferences, OpenDreamStudio, ImportWeights, Model, DeleteSelectedWeights, ModelSearch, InstallModel, PREFERENCES_UL_ModelList
from .preferences import OpenHuggingFace, OpenContributors, StableDiffusionPreferences, OpenDreamStudio, ImportWeights, Model, ModelSearch, InstallModel, PREFERENCES_UL_ModelList

from .ui.presets import DREAM_PT_AdvancedPresets, DREAM_MT_AdvancedPresets, AddAdvancedPreset, RestoreDefaultPresets

Expand Down Expand Up @@ -43,7 +43,6 @@
PREFERENCES_UL_ModelList,
ModelSearch,
InstallModel,
DeleteSelectedWeights,
Model,
DreamPrompt,
InstallDependencies,
Expand Down
3 changes: 2 additions & 1 deletion generator_process/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ class Generator(Actor):
from .actions.outpaint import outpaint
from .actions.upscale import upscale
from .actions.huggingface_hub import hf_snapshot_download, hf_list_models, hf_list_installed_models
from .actions.ocio_transform import ocio_transform
from .actions.ocio_transform import ocio_transform
from .actions.convert_original_stable_diffusion_to_diffusers import convert_original_stable_diffusion_to_diffusers

Large diffs are not rendered by default.

Loading