diff --git a/.gitattributes b/.gitattributes index 0969b6b2..708c2c76 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,4 @@ -models/* +*.safetensors filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +/models/* filter=lfs diff=lfs merge=lfs -text +models/* filter=lfs diff=lfs merge=lfs -text diff --git a/.gitea/ISSUE_TEMPLATE/bug_report.yml b/.gitea/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 5876e941..00000000 --- a/.gitea/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,105 +0,0 @@ -name: Bug Report -description: You think something is broken in the UI -title: "[Bug]: " -labels: ["bug-report"] - -body: - - type: markdown - attributes: - value: | - > The title of the bug report should be short and descriptive. - > Use relevant keywords for searchability. - > Do not leave it blank, but also do not put an entire error log in it. - - type: checkboxes - attributes: - label: Checklist - description: | - Please perform basic debugging to see if extensions or configuration is the cause of the issue. - Basic debug procedure -  1. Disable all third-party extensions - check if extension is the cause -  2. Update extensions and webui - sometimes things just need to be updated -  3. Backup and remove your config.json and ui-config.json - check if the issue is caused by bad configuration -  4. Delete venv with third-party extensions disabled - sometimes extensions might cause wrong libraries to be installed -  5. Try a fresh installation webui in a different directory - see if a clean installation solves the issue - Before making a issue report please, check that the issue hasn't been reported recently. - options: - - label: The issue exists after disabling all extensions - - label: The issue exists on a clean installation of webui - - label: The issue is caused by an extension, but I believe it is caused by a bug in the webui - - label: The issue exists in the current version of the webui - - label: The issue has not been reported before recently - - label: The issue has been reported before but has not been fixed yet - - type: markdown - attributes: - value: | - > Please fill this form with as much information as possible. Don't forget to "Upload Sysinfo" and "What browsers" and provide screenshots if possible - - type: textarea - id: what-did - attributes: - label: What happened? - description: Tell us what happened in a very clear and simple way - placeholder: | - txt2img is not working as intended. - validations: - required: true - - type: textarea - id: steps - attributes: - label: Steps to reproduce the problem - description: Please provide us with precise step by step instructions on how to reproduce the bug - placeholder: | - 1. Go to ... - 2. Press ... - 3. ... - validations: - required: true - - type: textarea - id: what-should - attributes: - label: What should have happened? - description: Tell us what you think the normal behavior should be - placeholder: | - WebUI should ... - validations: - required: true - - type: dropdown - id: browsers - attributes: - label: What browsers do you use to access the UI ? - multiple: true - options: - - Mozilla Firefox - - Google Chrome - - Brave - - Apple Safari - - Microsoft Edge - - Android - - iOS - - Other - - type: textarea - id: sysinfo - attributes: - label: Sysinfo - description: System info file, generated by WebUI. You can generate it in settings, on the Sysinfo page. Drag the file into the field to upload it. If you submit your report without including the sysinfo file, the report will be closed. If needed, review the report to make sure it includes no personal information you don't want to share. If you can't start WebUI, you can use --dump-sysinfo commandline argument to generate the file. - placeholder: | - 1. Go to WebUI Settings -> Sysinfo -> Download system info. - If WebUI fails to launch, use --dump-sysinfo commandline argument to generate the file - 2. Upload the Sysinfo as a attached file, Do NOT paste it in as plain text. - validations: - required: true - - type: textarea - id: logs - attributes: - label: Console logs - description: Please provide **full** cmd/terminal logs from the moment you started UI to the end of it, after the bug occured. If it's very long, provide a link to pastebin or similar service. - render: Shell - validations: - required: true - - type: textarea - id: misc - attributes: - label: Additional information - description: | - Please provide us with any relevant additional info or context. - Examples: -  I have updated my GPU driver recently. diff --git a/.gitea/ISSUE_TEMPLATE/config.yml b/.gitea/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index f58c94a9..00000000 --- a/.gitea/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,5 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: WebUI Community Support - url: https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions - about: Please ask and answer questions here. diff --git a/.gitea/ISSUE_TEMPLATE/feature_request.yml b/.gitea/ISSUE_TEMPLATE/feature_request.yml deleted file mode 100644 index 35a88740..00000000 --- a/.gitea/ISSUE_TEMPLATE/feature_request.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Feature request -description: Suggest an idea for this project -title: "[Feature Request]: " -labels: ["enhancement"] - -body: - - type: checkboxes - attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the feature you want, and that it's not implemented in a recent build/commit. - options: - - label: I have searched the existing issues and checked the recent builds/commits - required: true - - type: markdown - attributes: - value: | - *Please fill this form with as much information as possible, provide screenshots and/or illustrations of the feature if possible* - - type: textarea - id: feature - attributes: - label: What would your feature do ? - description: Tell us about your feature in a very clear and simple way, and what problem it would solve - validations: - required: true - - type: textarea - id: workflow - attributes: - label: Proposed workflow - description: Please provide us with step by step information on how you'd like the feature to be accessed and used - value: | - 1. Go to .... - 2. Press .... - 3. ... - validations: - required: true - - type: textarea - id: misc - attributes: - label: Additional information - description: Add any other context or screenshots about the feature request here. diff --git a/.gitea/pull_request_template.md b/.gitea/pull_request_template.md deleted file mode 100644 index c9fcda2e..00000000 --- a/.gitea/pull_request_template.md +++ /dev/null @@ -1,15 +0,0 @@ -## Description - -* a simple description of what you're trying to accomplish -* a summary of changes in code -* which issues it fixes, if any - -## Screenshots/videos: - - -## Checklist: - -- [ ] I have read [contributing wiki page](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing) -- [ ] I have performed a self-review of my own code -- [ ] My code follows the [style guidelines](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing#code-style) -- [ ] My code passes [tests](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Tests) diff --git a/.gitea/workflows/on_pull_request.yaml b/.gitea/workflows/on_pull_request.yaml index c5600ffb..1526ecc4 100644 --- a/.gitea/workflows/on_pull_request.yaml +++ b/.gitea/workflows/on_pull_request.yaml @@ -38,3 +38,4 @@ jobs: # node-version: 18 # - run: npm i --ci # - run: npm run lint + diff --git a/.gitea/workflows/run_tests.yaml b/.gitea/workflows/run_tests.yaml deleted file mode 100644 index a8b4f48a..00000000 --- a/.gitea/workflows/run_tests.yaml +++ /dev/null @@ -1,109 +0,0 @@ -name: Tests - -on: - - push - - pull_request - -env: - FORGE_CQ_TEST: "True" - -jobs: - test: - name: tests on CPU - runs-on: ubuntu-latest - if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name - steps: - - name: Checkout Code - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - # python-version: 3.10.6 - cache: pip - cache-dependency-path: | - **/requirements*txt - launch.py - - name: deps - run: apt update && apt install python3-pip -y - - name: Cache models - id: cache-models - uses: actions/cache@v3 - with: - path: models - key: "2023-12-30" - - name: Install test dependencies - run: pip install wait-for-it -r requirements-test.txt #--break-system-packages - env: - PIP_DISABLE_PIP_VERSION_CHECK: "1" - PIP_PROGRESS_BAR: "off" - - name: Setup environment - run: python3 launch.py --skip-torch-cuda-test --exit - env: - PIP_DISABLE_PIP_VERSION_CHECK: "1" - PIP_PROGRESS_BAR: "off" - TORCH_INDEX_URL: https://download.pytorch.org/whl/cpu - WEBUI_LAUNCH_LIVE_OUTPUT: "1" - PYTHONUNBUFFERED: "1" - - name: Print installed packages - run: pip freeze - - name: Download models - run: | - declare -a urls=( - "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/realisticVisionV51_v51VAE.safetensors" - ) - for url in "${urls[@]}"; do - filename="models/Stable-diffusion/${url##*/}" # Extracts the last part of the URL - if [ ! -f "$filename" ]; then - curl -Lo "$filename" "$url" - fi - done - # - name: Download ControlNet models - # run: | - # declare -a urls=( - # "https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny.pth" - # ) - - # for url in "${urls[@]}"; do - # filename="models/ControlNet/${url##*/}" # Extracts the last part of the URL - # if [ ! -f "$filename" ]; then - # curl -Lo "$filename" "$url" - # fi - # done - - name: Start test server - run: > - python3 -m coverage run - --data-file=.coverage.server - launch.py - --skip-prepare-environment - --skip-torch-cuda-test - --test-server - --do-not-download-clip - --no-half - --disable-opt-split-attention - --always-cpu - --api-server-stop - --ckpt models/Stable-diffusion/realisticVisionV51_v51VAE.safetensors - 2>&1 | tee output.txt & - - name: Run tests - run: | - wait-for-it --service 127.0.0.1:7860 -t 20 - python3 -m pytest -vv --junitxml=test/results.xml --cov . --cov-report=xml --verify-base-url test - # TODO(huchenlei): Enable ControlNet tests. Currently it is too slow to run these tests on CPU with - # real SD model. We need to find a way to load empty SD model. - # - name: Run ControlNet tests - # run: > - # python -m pytest - # --junitxml=test/results.xml - # --cov ./extensions-builtin/sd_forge_controlnet - # --cov-report=xml - # --verify-base-url - # ./extensions-builtin/sd_forge_controlnet/tests - - name: Kill test server - if: always() - run: curl -vv -XPOST http://127.0.0.1:7860/sdapi/v1/server-stop && sleep 10 - - name: Upload main app output - uses: actions/upload-artifact@v3 - if: always() - with: - name: output - path: output.txt diff --git a/.gitea/workflows/warns_merge_master.yml b/.gitea/workflows/warns_merge_master.yml deleted file mode 100644 index c7ceb185..00000000 --- a/.gitea/workflows/warns_merge_master.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Pull requests can't target master branch - -"on": - pull_request: - types: - - opened - - synchronize - - reopened - branches: - - master - -jobs: - check: - runs-on: ubuntu-latest - steps: - - name: Warning marge into master - run: | - echo -e "::warning::This pull request directly merge into \"master\" branch, normally development happens on \"dev\" branch." - exit 1 diff --git a/.gitignore b/.gitignore index dbe0d058..2090a586 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,9 @@ +*.pth +*.safetensors +/models/* + __pycache__ -/extensions +#/extensions /ESRGAN/* /SwinIR/* /repositories @@ -7,12 +11,12 @@ __pycache__ /tmp /output /model.ckpt -/models/**/* +#/models/**/* /GFPGANv1.3.pth /gfpgan/weights/*.pth /ui-config.json /outputs -/config.json +#/config.json /log /webui.settings.bat /embeddings @@ -21,7 +25,7 @@ __pycache__ /webui-user.bat /webui-user.sh /interrogate -/user.css +#/user.css /.idea notification.mp3 /SwinIR diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..a2923f43 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,21 @@ +[submodule "extensions/Stable-Diffusion-Webui-Civitai-Helper"] + path = extensions/Stable-Diffusion-Webui-Civitai-Helper + url = https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper +[submodule "extensions/adetailer"] + path = extensions/adetailer + url = https://github.com/Bing-su/adetailer +[submodule "extensions/sd-webui-animatediff"] + path = extensions/sd-webui-animatediff + url = https://github.com/continue-revolution/sd-webui-animatediff +[submodule "extensions/sd-webui-aspect-ratio-helper"] + path = extensions/sd-webui-aspect-ratio-helper + url = https://github.com/thomasasfk/sd-webui-aspect-ratio-helper +[submodule "extensions/sd-webui-infinite-image-browsing"] + path = extensions/sd-webui-infinite-image-browsing + url = https://github.com/zanllp/sd-webui-infinite-image-browsing +[submodule "extensions/sd-webui-lobe-theme"] + path = extensions/sd-webui-lobe-theme + url = https://github.com/lobehub/sd-webui-lobe-theme +[submodule "extensions/sd-webui-segment-anything"] + path = extensions/sd-webui-segment-anything + url = https://github.com/continue-revolution/sd-webui-segment-anything diff --git a/.python-version b/.python-version deleted file mode 100644 index ac957df8..00000000 --- a/.python-version +++ /dev/null @@ -1 +0,0 @@ -3.10.6 diff --git a/README.md b/README.md index eb312afc..ba166883 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,14 @@ This reposytory is just my version for faster installation of [sd-webui-forge](h - Added user.js - Added upscalers - Installed some basic (as for me) plugins +- Added starter.sh with my settings #### Now you can call it bloated # Install ```shell -git clone https://soaska.ru/soaska/my-sd.git +GIT_LFS_SKIP_SMUDGE=1 git clone https://soaska.ru/soaska/my-sd.git cd my-sd/ cd models/ @@ -36,4 +37,12 @@ pip install -r requirements.txt bash ./webui.sh ``` -It`s basic install instructions. There are some specific for your hardware. Good luck searching net to get better performance. \ No newline at end of file +**or just pull everything** + +``` +git clone https://soaska.ru/soaska/my-sd.git +python3 -m venv venv +./start.sh +``` + +It`s basic install instructions. There are some specific for your hardware. Good luck searching net to get better performance. diff --git a/config.json b/config.json new file mode 100644 index 00000000..4e39223f --- /dev/null +++ b/config.json @@ -0,0 +1,387 @@ +{ + "ldsr_steps": 100, + "ldsr_cached": false, + "SCUNET_tile": 256, + "SCUNET_tile_overlap": 8, + "SWIN_tile": 192, + "SWIN_tile_overlap": 8, + "SWIN_torch_compile": false, + "control_net_detectedmap_dir": "detected_maps", + "control_net_models_path": "", + "control_net_modules_path": "", + "control_net_unit_count": 3, + "control_net_model_cache_size": 5, + "control_net_no_detectmap": false, + "control_net_detectmap_autosaving": false, + "control_net_allow_script_control": false, + "control_net_sync_field_args": true, + "controlnet_show_batch_images_in_ui": false, + "controlnet_increment_seed_during_batch": false, + "controlnet_disable_openpose_edit": false, + "controlnet_disable_photopea_edit": false, + "controlnet_photopea_warning": true, + "controlnet_input_thumbnail": true, + "sd_checkpoint_hash": "ec41bd2a8271acde4ae81cac004d9f3300e7fb0870eae8cbfe0bbc4ef8e27f91", + "sd_model_checkpoint": "photon_v1.safetensors", + "disabled_extensions": [ + "a1111-huggingface-sync", + "multidiffusion-upscaler-for-automatic1111" + ], + "disable_all_extensions": "none", + "ch_civiai_api_key": "20370368bc74945792ff105171e5a482", + "ch_dl_lyco_to_lora": false, + "ch_open_url_with_js": true, + "ch_hide_buttons": [], + "ch_always_display": false, + "ch_max_size_preview": true, + "ch_download_examples": false, + "ch_nsfw_threshold": "PG", + "ch_dl_webui_metadata": true, + "ch_proxy": "", + "outdir_samples": "", + "outdir_txt2img_samples": "output/txt2img-images", + "outdir_img2img_samples": "output/img2img-images", + "outdir_extras_samples": "output/extras-images", + "outdir_grids": "", + "outdir_txt2img_grids": "output/txt2img-grids", + "outdir_img2img_grids": "output/img2img-grids", + "outdir_save": "log/images", + "outdir_init_images": "output/init-images", + "samples_save": true, + "samples_format": "png", + "samples_filename_pattern": "", + "save_images_add_number": true, + "save_images_replace_action": "Replace", + "grid_save": true, + "grid_format": "png", + "grid_extended_filename": false, + "grid_only_if_multiple": true, + "grid_prevent_empty_spots": false, + "grid_zip_filename_pattern": "", + "n_rows": -1, + "font": "", + "grid_text_active_color": "#000000", + "grid_text_inactive_color": "#999999", + "grid_background_color": "#ffffff", + "save_images_before_face_restoration": false, + "save_images_before_highres_fix": false, + "save_images_before_color_correction": false, + "save_mask": false, + "save_mask_composite": false, + "jpeg_quality": 80, + "webp_lossless": false, + "export_for_4chan": true, + "img_downscale_threshold": 4.0, + "target_side_length": 4000.0, + "img_max_size_mp": 200.0, + "use_original_name_batch": true, + "use_upscaler_name_as_suffix": false, + "save_selected_only": true, + "save_init_img": false, + "temp_dir": "", + "clean_temp_dir_at_start": false, + "save_incomplete_images": false, + "notification_audio": true, + "notification_volume": 100, + "save_to_dirs": true, + "grid_save_to_dirs": true, + "use_save_to_dirs_for_ui": false, + "directories_filename_pattern": "[date]", + "directories_max_prompt_words": 8, + "auto_backcompat": true, + "use_old_emphasis_implementation": false, + "use_old_karras_scheduler_sigmas": false, + "no_dpmpp_sde_batch_determinism": false, + "use_old_hires_fix_width_height": false, + "dont_fix_second_order_samplers_schedule": false, + "hires_fix_use_firstpass_conds": false, + "use_old_scheduling": false, + "use_downcasted_alpha_bar": false, + "lora_functional": false, + "extra_networks_show_hidden_directories": true, + "extra_networks_dir_button_function": false, + "extra_networks_hidden_models": "When searched", + "extra_networks_default_multiplier": 1, + "extra_networks_card_width": 0.0, + "extra_networks_card_height": 0.0, + "extra_networks_card_text_scale": 1, + "extra_networks_card_show_desc": true, + "extra_networks_card_description_is_html": false, + "extra_networks_card_order_field": "Path", + "extra_networks_card_order": "Ascending", + "extra_networks_tree_view_default_enabled": false, + "extra_networks_add_text_separator": " ", + "ui_extra_networks_tab_reorder": "", + "textual_inversion_print_at_load": false, + "textual_inversion_add_hashes_to_infotext": true, + "sd_hypernetwork": "None", + "sd_lora": "None", + "lora_preferred_name": "Alias from file", + "lora_add_hashes_to_infotext": true, + "lora_show_all": false, + "lora_hide_unknown_for_versions": [], + "lora_in_memory_limit": 0, + "lora_not_found_warning_console": false, + "lora_not_found_gradio_warning": false, + "cross_attention_optimization": "Automatic", + "s_min_uncond": 0, + "token_merging_ratio": 0, + "token_merging_ratio_img2img": 0, + "token_merging_ratio_hr": 0, + "pad_cond_uncond": false, + "pad_cond_uncond_v0": false, + "persistent_cond_cache": true, + "batch_cond_uncond": true, + "fp8_storage": "Disable", + "cache_fp16_weight": false, + "hide_samplers": [], + "eta_ddim": 0, + "eta_ancestral": 1, + "ddim_discretize": "uniform", + "s_churn": 0, + "s_tmin": 0, + "s_tmax": 0, + "s_noise": 1, + "k_sched_type": "Automatic", + "sigma_min": 0.0, + "sigma_max": 0.0, + "rho": 0.0, + "eta_noise_seed_delta": 0, + "always_discard_next_to_last_sigma": false, + "sgm_noise_multiplier": false, + "uni_pc_variant": "bh1", + "uni_pc_skip_type": "time_uniform", + "uni_pc_order": 3, + "uni_pc_lower_order_final": true, + "sd_noise_schedule": "Default", + "sd_checkpoints_limit": 1, + "sd_checkpoints_keep_in_cpu": true, + "sd_checkpoint_cache": 0, + "sd_unet": "Automatic", + "enable_quantization": false, + "emphasis": "Original", + "enable_batch_seeds": true, + "comma_padding_backtrack": 20, + "upcast_attn": false, + "randn_source": "GPU", + "tiling": false, + "hires_fix_refiner_pass": "second pass", + "enable_prompt_comments": true, + "sdxl_crop_top": 0.0, + "sdxl_crop_left": 0.0, + "sdxl_refiner_low_aesthetic_score": 2.5, + "sdxl_refiner_high_aesthetic_score": 6.0, + "sd_vae_checkpoint_cache": 0, + "sd_vae_overrides_per_model_preferences": true, + "auto_vae_precision_bfloat16": false, + "auto_vae_precision": true, + "sd_vae_encode_method": "Full", + "sd_vae_decode_method": "Full", + "inpainting_mask_weight": 1, + "initial_noise_multiplier": 1, + "img2img_extra_noise": 0, + "img2img_color_correction": false, + "img2img_fix_steps": false, + "img2img_background_color": "#ffffff", + "img2img_editor_height": 720, + "img2img_sketch_default_brush_color": "#ffffff", + "img2img_inpaint_mask_brush_color": "#ffffff", + "img2img_inpaint_sketch_default_brush_color": "#ffffff", + "return_mask": false, + "return_mask_composite": false, + "img2img_batch_show_results_limit": 32, + "overlay_inpaint": true, + "return_grid": true, + "do_not_show_images": false, + "js_modal_lightbox": true, + "js_modal_lightbox_initially_zoomed": true, + "js_modal_lightbox_gamepad": false, + "js_modal_lightbox_gamepad_repeat": 250.0, + "sd_webui_modal_lightbox_icon_opacity": 1, + "sd_webui_modal_lightbox_toolbar_opacity": 0.9, + "gallery_height": "", + "open_dir_button_choice": "Subdirectory", + "enable_pnginfo": true, + "save_txt": false, + "add_model_name_to_info": true, + "add_model_hash_to_info": true, + "add_vae_name_to_info": true, + "add_vae_hash_to_info": true, + "add_user_name_to_info": false, + "add_version_to_infotext": true, + "disable_weights_auto_swap": true, + "infotext_skip_pasting": [], + "infotext_styles": "Apply if any", + "show_progressbar": true, + "live_previews_enable": true, + "live_previews_image_format": "png", + "show_progress_grid": true, + "show_progress_every_n_steps": 10, + "show_progress_type": "Approx NN", + "live_preview_allow_lowvram_full": false, + "live_preview_content": "Prompt", + "live_preview_refresh_period": 1000.0, + "live_preview_fast_interrupt": false, + "js_live_preview_in_modal_lightbox": false, + "keyedit_precision_attention": 0.1, + "keyedit_precision_extra": 0.05, + "keyedit_delimiters": ".,\\/!?%^*;:{}=`~() ", + "keyedit_delimiters_whitespace": [ + "Tab", + "Carriage Return", + "Line Feed" + ], + "keyedit_move": true, + "disable_token_counters": false, + "include_styles_into_token_counters": true, + "extra_options_txt2img": [], + "extra_options_img2img": [], + "extra_options_cols": 1, + "extra_options_accordion": false, + "compact_prompt_box": false, + "samplers_in_dropdown": true, + "dimensions_and_batch_together": true, + "sd_checkpoint_dropdown_use_short": false, + "hires_fix_show_sampler": false, + "hires_fix_show_prompts": false, + "txt2img_settings_accordion": false, + "img2img_settings_accordion": false, + "interrupt_after_current": true, + "localization": "None", + "quicksettings_list": [ + "sd_model_checkpoint", + "sd_vae", + "CLIP_stop_at_last_layers" + ], + "ui_tab_order": [], + "hidden_tabs": [], + "ui_reorder_list": [], + "gradio_theme": "Default", + "gradio_themes_cache": true, + "show_progress_in_title": true, + "send_seed": true, + "send_size": true, + "api_enable_requests": true, + "api_forbid_local_requests": true, + "api_useragent": "", + "auto_launch_browser": "Local", + "enable_console_prompts": false, + "show_warnings": false, + "show_gradio_deprecation_warnings": true, + "memmon_poll_rate": 8, + "samples_log_stdout": false, + "multiple_tqdm": true, + "enable_upscale_progressbar": true, + "print_hypernet_extra": false, + "list_hidden_files": true, + "disable_mmap_load_safetensors": false, + "hide_ldm_prints": true, + "dump_stacks_on_signal": false, + "face_restoration": false, + "face_restoration_model": "CodeFormer", + "code_former_weight": 0.5, + "face_restoration_unload": false, + "postprocessing_enable_in_main_ui": [], + "postprocessing_operation_order": [], + "upscaling_max_images_in_cache": 5, + "postprocessing_existing_caption_action": "Ignore", + "ESRGAN_tile": 192, + "ESRGAN_tile_overlap": 8, + "realesrgan_enabled_models": [ + "R-ESRGAN 4x+", + "R-ESRGAN 4x+ Anime6B" + ], + "dat_enabled_models": [ + "DAT x2", + "DAT x3", + "DAT x4" + ], + "DAT_tile": 192, + "DAT_tile_overlap": 8, + "unload_models_when_training": false, + "pin_memory": false, + "save_optimizer_state": false, + "save_training_settings_to_txt": true, + "dataset_filename_word_regex": "", + "dataset_filename_join_string": " ", + "training_image_repeats_per_epoch": 1, + "training_write_csv_every": 500.0, + "training_xattention_optimizations": false, + "training_enable_tensorboard": false, + "training_tensorboard_save_images": false, + "training_tensorboard_flush_every": 120.0, + "canvas_hotkey_zoom": "Alt", + "canvas_hotkey_adjust": "Ctrl", + "canvas_hotkey_shrink_brush": "Q", + "canvas_hotkey_grow_brush": "W", + "canvas_hotkey_move": "F", + "canvas_hotkey_fullscreen": "S", + "canvas_hotkey_reset": "R", + "canvas_hotkey_overlap": "O", + "canvas_show_tooltip": true, + "canvas_auto_expand": true, + "canvas_blur_prompt": false, + "canvas_disabled_functions": [ + "Overlap" + ], + "interrogate_keep_models_in_memory": false, + "interrogate_return_ranks": false, + "interrogate_clip_num_beams": 1, + "interrogate_clip_min_length": 24, + "interrogate_clip_max_length": 48, + "interrogate_clip_dict_limit": 1500.0, + "interrogate_clip_skip_categories": [], + "interrogate_deepbooru_score_threshold": 0.5, + "deepbooru_sort_alpha": true, + "deepbooru_use_spaces": true, + "deepbooru_escape": true, + "deepbooru_filter_tags": "", + "sd_vae": "Automatic", + "ad_max_models": 2, + "ad_extra_models_dir": "", + "ad_save_previews": false, + "ad_save_images_before": false, + "ad_only_seleted_scripts": true, + "ad_script_names": "dynamic_prompting,dynamic_thresholding,lora_block_weight,negpip,soft_inpainting,wildcard_recursive,wildcards", + "ad_bbox_sortby": "None", + "ad_same_seed_for_each_tap": false, + "animatediff_model_path": "", + "animatediff_default_save_formats": [ + "GIF", + "PNG" + ], + "animatediff_save_to_custom": true, + "animatediff_frame_extract_path": "", + "animatediff_frame_extract_remove": false, + "animatediff_default_frame_extract_method": "ffmpeg", + "animatediff_optimize_gif_palette": false, + "animatediff_optimize_gif_gifsicle": false, + "animatediff_mp4_crf": 23, + "animatediff_mp4_preset": "", + "animatediff_mp4_tune": "", + "animatediff_webp_quality": 80, + "animatediff_webp_lossless": false, + "animatediff_s3_enable": false, + "animatediff_s3_host": "", + "animatediff_s3_port": "", + "animatediff_s3_access_key": "", + "animatediff_s3_secret_key": "", + "animatediff_s3_storge_bucket": "", + "arh_javascript_aspect_ratio_show": true, + "arh_javascript_aspect_ratio": "1:1, 3:2, 4:3, 5:4, 16:9", + "arh_ui_javascript_selection_method": "Aspect Ratios Dropdown", + "arh_hide_accordion_by_default": true, + "arh_expand_by_default": false, + "arh_ui_component_order_key": "MaxDimensionScaler, MinDimensionScaler, PredefinedAspectRatioButtons, PredefinedPercentageButtons", + "arh_show_max_width_or_height": false, + "arh_max_width_or_height": 1024.0, + "arh_show_min_width_or_height": false, + "arh_min_width_or_height": 1024.0, + "arh_show_predefined_aspect_ratios": false, + "arh_predefined_aspect_ratio_use_max_dim": false, + "arh_predefined_aspect_ratios": "1:1, 4:3, 16:9, 9:16, 21:9", + "arh_show_predefined_percentages": false, + "arh_predefined_percentages": "25, 50, 75, 125, 150, 175, 200", + "arh_predefined_percentages_display_key": "Incremental/decremental percentage (-50%, +50%)", + "sam_use_local_groundingdino": false +} \ No newline at end of file diff --git a/extensions/Stable-Diffusion-Webui-Civitai-Helper b/extensions/Stable-Diffusion-Webui-Civitai-Helper new file mode 160000 index 00000000..ad3345b7 --- /dev/null +++ b/extensions/Stable-Diffusion-Webui-Civitai-Helper @@ -0,0 +1 @@ +Subproject commit ad3345b744f979f37fa1919247876ac7fb104f48 diff --git a/extensions/adetailer b/extensions/adetailer new file mode 160000 index 00000000..1edd5888 --- /dev/null +++ b/extensions/adetailer @@ -0,0 +1 @@ +Subproject commit 1edd58886014a8fdea73cfcc30dfac84f4684926 diff --git a/extensions/sd-webui-animatediff b/extensions/sd-webui-animatediff new file mode 160000 index 00000000..44d2f992 --- /dev/null +++ b/extensions/sd-webui-animatediff @@ -0,0 +1 @@ +Subproject commit 44d2f992ba495fd428b8be37bdfea0b5b62cc718 diff --git a/extensions/sd-webui-aspect-ratio-helper b/extensions/sd-webui-aspect-ratio-helper new file mode 160000 index 00000000..99fcf9b0 --- /dev/null +++ b/extensions/sd-webui-aspect-ratio-helper @@ -0,0 +1 @@ +Subproject commit 99fcf9b0a4e3f8c8cac07b12d17b66f12297b828 diff --git a/extensions/sd-webui-infinite-image-browsing b/extensions/sd-webui-infinite-image-browsing new file mode 160000 index 00000000..cadbe81c --- /dev/null +++ b/extensions/sd-webui-infinite-image-browsing @@ -0,0 +1 @@ +Subproject commit cadbe81c2462db09c7a8c79d85e9e89a47d2409e diff --git a/extensions/sd-webui-lobe-theme b/extensions/sd-webui-lobe-theme new file mode 160000 index 00000000..b9ab9dc4 --- /dev/null +++ b/extensions/sd-webui-lobe-theme @@ -0,0 +1 @@ +Subproject commit b9ab9dc480c8f1b153a17ed1bc45fe32822cafb4 diff --git a/extensions/sd-webui-segment-anything b/extensions/sd-webui-segment-anything new file mode 160000 index 00000000..982138cf --- /dev/null +++ b/extensions/sd-webui-segment-anything @@ -0,0 +1 @@ +Subproject commit 982138cfb505de61a3cbb257b2fa9d461d9b5493 diff --git a/launch.py b/launch.py index de646052..5fc96a85 100644 --- a/launch.py +++ b/launch.py @@ -1,7 +1,7 @@ from modules import launch_utils -#from dotenv import load_dotenv +from dotenv import load_dotenv -#load_dotenv() +load_dotenv() args = launch_utils.args python = launch_utils.python diff --git a/requirements.txt b/requirements.txt index 731a1be7..ec4f769c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,3 +29,5 @@ torch torchdiffeq torchsde transformers==4.30.2 + +python-dotenv diff --git a/start.sh b/start.sh new file mode 100755 index 00000000..13865a1f --- /dev/null +++ b/start.sh @@ -0,0 +1,4 @@ +#!/bin/bash +source /home/sosiska/my-sd/venv/bin/activate +/home/sosiska/my-sd/webui.sh --listen --gradio-auth "login":"password" --port 8080 --administrator --enable-insecure-extension-access --pin-shared-memory --cuda-malloc --cuda-stream --xformers --medvram +