Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
Added argument saving.
Added project Stable Diffusion web UI-UX - A1111 fork
Fixed InvokeAI not launch correctly.
Fixed update checker
  • Loading branch information
diStyApps committed Apr 21, 2023
1 parent 4941182 commit f70deca
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 56 deletions.
45 changes: 23 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,29 +60,27 @@ The tool is designed to provide an easy-to-use solution for accessing and instal
But remains a great solution for users with minimal technical knowledge or expertise. Fixes underway.


### Update 0.0.9
### Update [0.1.0]

Added

- Argument Saving: Users can now save their preferred arguments.
- xformers Arguments Default: The xformers argument is now set to "automatic 1111 webui" by default. it will install xformers by default unless unchecked.
- Project Stable Diffusion web UI-UX (A1111 fork): Stable Diffusion web UI-UX project. Beautiful user interface and a more intuitive making it easier to navigate and interact with the project.

Added Projects:
Fixed

"automatic" is a fork of the Auto1111 web UI, diving into the name chaos with flair.
- InvokeAI Launch Issue: Previously, there was an issue causing InvokeAI to not launch correctly.

This fork promises to deliver more frequent updates for improved stability, enhanced speed, and a selection of pre-installed extensions.
- Update Checker Bug: A problem with the update checker resulted in incorrect update notifications.

https://github.com/vladmandic/automatic

A free and open-source inpainting tool powered by SOTA AI model.

https://github.com/Sanster/lama-cleaner

### Spread the word; don't only keep it to yourself.



Spread the word; don't only keep it to yourself.

<img src="media/preview/0.0.9/1_0.0.9.jpg">
<img src="media/preview/0.0.8/2_0.0.8.jpg">
<img src="media/preview/0.1.0/1_0.1.0.jpg">
<img src="media/preview/0.1.0/2_0.1.0.jpg">
<img src="media/preview/0.0.7/2_0.0.7.jpg">
<img src="media/preview/0.0.1/1_0.0.1.jpg">

Expand All @@ -99,6 +97,9 @@ Spread the word; don't only keep it to yourself.
### For Windows 10+ and Nvidia GPU-based cards
[Releases](https://github.com/diStyApps/seait/releases)

[CIVITAI](https://civitai.com/models/27574/super-easy-ai-installer-tool)


$${\color{red}Note}$$
### False Positive Virustotal

Expand All @@ -114,16 +115,16 @@ In the future ill try maybe nukita or something.
<!-- ROADMAP -->
## Roadmap

- [x] Multi-language support
- [x] More AI-related repos
- [x] Set custom project path
- [x] Custom arguments
- [ ] Pre installed auto1111 version
- [ ] App updater
- [ ] Remembering arguments
- [ ] Maybe arguments profiles
- [x] Support for multiple languages
- [x] Adding more projects
- [x] Customizable project directory
- [x] User-defined arguments
- [x] Saving argument configurations
- [ ] In-app update feature
- [ ] Potential argument profile management
- [ ] Better event handling
- [ ] Fully standalone version no python or git needed
- [ ] Pre-installed auto1111 version
- [ ] Fully independent version without Python or Git dependencies

See the [open issues](https://github.com/diStyApps/seait/issues) for a full list of proposed features (and known issues).

Expand Down
Binary file added media/preview/0.1.0/1_0.1.0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/preview/0.1.0/2_0.1.0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 1 addition & 31 deletions seait.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def main():
]]

window = sg.Window(APP_TITLE,layout,finalize=True,size=(window_width,799),ttk_theme='alt', resizable=True,enable_close_attempted_event=False,background_color=color.GRAY_9900,icon=ic.icon3)

#region nav
projects_layout_col_1:sg.Column = window[PROJECTS_COL_1]
projects_layout_col_2:sg.Column = window[PROJECTS_COL_2]
Expand Down Expand Up @@ -80,7 +81,6 @@ def main():

#endregion nav


def run_project_func(project,method,args=None):
project_funcs.methods[method](project,args)
window.write_event_value(f"-select_app_{project['id']}_btn-","")
Expand All @@ -99,17 +99,12 @@ def set_project_path(window, id_number, input_project_path,trigger_event=True):
requirements_layout.git_event_handler(window,lang_data)
requirements_layout.python_event_handler(window,lang_data)

window.write_event_value("INIT",1)

while True:
event, values = window.read()
# print("event", event, "values", values)
# print("event", event)

if event == sg.WIN_CLOSED:
break

if event == "INIT":
# print("INIT",event,values["INIT"])
pass

Expand Down Expand Up @@ -152,46 +147,33 @@ def set_project_path(window, id_number, input_project_path,trigger_event=True):
window.visibility_changed()

if event == INIT_DEFAULT_PROJECT_ARGS:
# print("init_default_project_args",values[INIT_DEFAULT_PROJECT_ARGS])
id_number = values[INIT_DEFAULT_PROJECT_ARGS]
# print('_console_ml',values[f"-selected_app_args_{values[INIT_DEFAULT_PROJECT_ARGS]}_console_ml-"])
project_pref_def_args = project['def_args']
input_project_path = values[f'-selected_app_{id_number}_project_path_in-']

# print("project_pref_def_args",project_pref_def_args)

if not get_pref_project_data(id_number):
set_project_path(window, id_number, input_project_path,False)
add_project_def_args(id_number, convert_list_to_string(project_pref_def_args))
window.write_event_value(f"-select_app_{id_number}_btn-",'')
# else:
# print("project already exists")

if event.startswith(SELECTED_APP) and event.endswith("_btn-"):
# print("selected_app_",event)

if event.startswith("-selected_app_args"):
# print("args",event)
window.write_event_value(SET_APP_ARGS,event)

if event.startswith("-selected_app_func"):
# print("func",event)
window.write_event_value(RUN_APP_FUNC,event)

if event.endswith("_project_path_set_btn-"):
# print("project_set",event)
window.write_event_value(SET_PROJECT_PATH,id_number)

if event.endswith("_project_path_activate_btn-"):
# print("project_activate",event)
window.write_event_value(ACTIVATE_PROJECT_PATH,id_number)

if event.endswith("_project_path_add_folder_name_btn-"):
# print("project_add_folder_name",event)
window.write_event_value(ADD_PROJECT_FOLDER_NAME,id_number)

if event.endswith("_project_save_def_args_btn-"):
# print("project_save_def_args",event)
window.write_event_value(SAVE_DEFAULT_ARGS,id_number)

if event == RUN_APP_FUNC:
Expand Down Expand Up @@ -231,21 +213,14 @@ def set_project_path(window, id_number, input_project_path,trigger_event=True):
id_number = values[ACTIVATE_PROJECT_PATH]
input_project_path = values[f'-selected_app_{id_number}_project_path_in-']
if input_project_path:
# print("project",input_project_path)
# print(get_pref_project_data(id_number))
project_pref = get_pref_project_data(id_number)
if project_pref:
project_pref_isSet = project_pref['isSet']
if project_pref_isSet:
set_project_active(id_number, False)
# add_project(id_number, input_project_path,False)

else:
set_project_active(id_number, True)
# add_project(id_number, input_project_path,True)

window.write_event_value(f"-select_app_{id_number}_btn-",'')
# window.write_event_value(f"refresh_menu_list",'')

if event == ADD_PROJECT_FOLDER_NAME:
id_number = values[ADD_PROJECT_FOLDER_NAME]
Expand All @@ -255,7 +230,6 @@ def set_project_path(window, id_number, input_project_path,trigger_event=True):

if not input_project_path.endswith(project_name):
window[f'-selected_app_{id_number}_project_path_in-'].update(f"{input_project_path}/{project_name}")
# print("project",input_project_path,project_name)
else:
print("Can only add project folder to path if it is not already in the path, you can add it manually if you want to.")

Expand Down Expand Up @@ -288,10 +262,6 @@ def set_project_path(window, id_number, input_project_path,trigger_event=True):
id_number = project_util.get_project_id(event)
webbrowser.open(project_util.get_project_by_id(projects_data, id_number)['github_url'])

if event.startswith("refresh_menu_list"):
window[PROJECTS_COL_1].update(projects_layout.create_layout_list_menu(projects_data))


if __name__ == '__main__':
sg.theme('Dark Gray 15')

Expand Down
139 changes: 136 additions & 3 deletions util/projects_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,142 @@
],
"description":[]
},
{
"id": 12,
"key": "app_",
"image_path":b'iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAH7ElEQVR4nK1XaWxU1xX+zr3vzXseLxmzGbOlZGxUszmACRgXcBohQQFDQ1NhQ8EU4TguClVCIMCPIhGnUUFECv0BtAoIoSptQWUJlhBUCXGNCSFgbMDBY0dUKUSxqWc8Hs/MW09/MDOysS1FbY90pPd0l+8s3zn3XsIQwswEQBCRk/ifAeBnABYDKHRd9xnTNAkAezweCCGCAG4B+BTAKSL6KrFOISJ7KAwaAlQQkZv4LgLwBoBV7e0d3uvXr6OlpQWGYcI0TQCAruvIzR2LgoICFBbOxPjx43sBnDJN831N01oSToCIeFjgJGhVVZV65MiRfQB2NDRcpaNH/4Dbt287pmmRlELk5ORg5MiRcBwHrsuwbYtt22aPx8PTpk2T5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oZhGLM9Hs8bAFbfvn07/dKlS2hoaEBHRwfC4TAAgs/3DPLy8rFw4Y+wZMkSTJ06NQzgr4ZhHNR1/d73esL0B8fAR9t0AC8DKAXwPABfNBoFAHi9XgDoBvAlgE8Nwzit63pbYt2wj7b/ADwOhxyvB9bGAAAAAElFTkSuQmCC',
"title": "Stable Diffusion web UI-UX - A1111 fork",
"repo_name": "stable-diffusion-webui-ux",
"github_url": "https://github.com/anapnoe/stable-diffusion-webui-ux",
"git_clone_url":"https://github.com/anapnoe/stable-diffusion-webui-ux.git",
"installed_version": "-",
"available_version": "-",
"installed": True,
"visible":True,
"status": 1,
"isIncomplete": False,
"type": "app",
"install_requirements":False,
"install_cuda":False,
"install_instructions_available":False,
"install_instructions": [
],
"entry_point":
{
"install":"launch.py",
"launch":"launch.py",
},
"buttons": [
{
"button_text": "Update",
"key": "update",
},
{
"button_text": "Delete venv",
"key": "delete_venv",
},
{
"button_text": "Create venv",
"key": "create_venv",
},
{
"button_text": "Uninstall",
"key": "uninstall",
},
],
"launch_buttons": [
{
"button_text": "Launch",
"key": "launch",
},
{
"button_text": "Install",
"key": "install",
},
],
"args": [
[
{
"button_text": "--autolaunch",
"key": "autolaunch",
},

{
"button_text": "--theme=dark",
},
],
[
{
"button_text": "--force-enable-xformers",
"key": "force-enable-xformers",
},
{
"button_text": "--xformers",
"key": "xformers",
},
],
[
{
"button_text": "--nowebui",
"key": "nowebui",
},
{
"button_text": "--no-half",
}
],


[
{
"button_text": "--lowvram",
"key": "lowvram",
},
{
"button_text": "--medvram",
"key": "medvram",
},
{
"button_text": "--lowram",
"key": "lowram",
},
],
[
{
"button_text": "--share",
"key": "share",
},
{
"button_text": "--listen",
"key": "listen",
},

{
"button_text": "--api",
"key": "api",
},
],
[
{
"button_text": "--enable-insecure-extension-access",
},
{
"button_text": "--skip-version-check",
},
]
],
"def_args": [
"--autolaunch",
"--theme=dark",
"--force-enable-xformers",
"--xformers"
],
"description":['One more fork of Automatic1111 web UI has a beautiful user interface and many additional features. It appears to be well-maintained.']
},
{
"id": 10,
"key": "app_",
"image_path": b'iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAEOklEQVR4nMWWTWxUVRSAv3Pf/LXToZ1Sph2KpcW2/AoS/5A0ECCgARNjoibERGWjBheoIJi4MZoQo8REjTs2mhCJiYmJC12oicREN8QEgjYi/rVQY8G2U9qZ93PvcTEztFM6QCTGu3iL9+79znfPO/e9A//ZkOvOMIJUZ6kCKKDozUa+fuj6a6/9TGHZYm7vISjhKT9dIlJGL+EcheK/RZd9F7fy4YsM9CPNMMknX3Nygu9PcWGEc5colCrh5x2xemjPEFme3MrAbRw5Rhjx0BoGOvj2N3pynB+io4FC6VrWpp6ydWQaeGorEpJP8fJH7D9OWzPLk2TiLMqQdqRjaP2Nz4/2DKo8vomudsIRHruTdZ18/iODg+zqwk7RlwNLvu6e66AFrCMZ57ntaAHrI8oLG1Hl8Fe0L6DLI5skm6Y5IiV1cz0Puqz86N305okmSES4CR5eTlczx89wfoideWyRvjawLJaKzQ2hneIZDmxDLyMB4hNN0xjj+fWEliPf0dPCIsglaUrTqiTqiM9FewanPLCWtV3YCbwA9fFCtMATfSxMcfQHxi5yXxvWp7cVUfJ1xOeiy0f54FYogo/6SIAJiIpkEzy7nMsh751mdZaMsiROKkkOvPmquwZdVt7Sz8Ye7DgmRALwwccE6BTPdJOO8fYgxUm2tOAClqXxlA4zj3gNuqz80mYIcP4MlwATYKfJJ9mzhIs+75/lnmaSSrdHzCMP5irxGXS5MO66he292HG8CK1yy1cJ0CL7OokLr5/D+WzIYAKWxklA7qqMz7JWFA4OIBZXAh+ZxSXAhNgivQkeWcjvJT4eYvMCBHodRug0c78nFbQRnLIqx4P9uAm8aIarQQVdjqE+B9oQeG2YWMi6RhKOTkMjLKwVr6BFUNi/gbhgSzNcCTCzMuMFuCLr49yf5nSRL0fZlsYa+gWFrtr3aCrKju4Wdq/ATeCFFTsJGZ/ijTOYqCoeVDZxKAPwyihpS1+KJmgXMkKLzHywzBXlfXfQEMMWkQACrA+OL0Y4NMjPYxBhq+K2xCYj98bkmxInC7LDeAGsMCh0zxI3ZeX2NHtWooWKcrmQKfLuLwBv/YHMFg9Fpr1DCvBqgdbL2hlJ1tAqZIVMVdwYQWHvWpqTRNOVWo58jOPECCfG8IQPRhkax4twPoRipj1XsDttfBXm01DPhmaHS/purriJHAsSPL0SN4mEaDWbEvDmrwAxmHK88xcS4gKh6MmktS4WJ3WQBoXD0Elj1iZzhiZoE1Kg5VzvXU17E6ZILMKEmIC449Qon/2NgVAROFrgzymJlzwpOLHxOClI7Kb5VmLHiC7g7bJZVVnjEROWXTn3q1poiqMWUVDUYeB8ieGg5hQsNdKiqGq5N1HEYIaxF7E9eB3EhiUw6BgoTN54m/Iv+hEp1/XVK1VxtXfm/Y1qNa1Czfyb7a3+t/EP2bDTpMDStYIAAAAASUVORK5CYII=',
"title": "automatic - Auto1111 webui fork",
"title": "automatic - A1111 fork",
"repo_name": "automatic",
"github_url": "https://github.com/vladmandic/automatic",
"git_clone_url":"https://github.com/vladmandic/automatic.git",
Expand Down Expand Up @@ -233,7 +364,8 @@
"--theme=dark",
],
"description":['"automatic" is a fork of the Auto1111 web UI, diving into the name chaos with flair. This fork promises to deliver more frequent updates for improved stability, enhanced speed, and a selection of pre-installed extensions.']
},
},

{
"id": 11,
"key": "app_",
Expand Down Expand Up @@ -843,5 +975,6 @@
Got CUDA error on a 10GB GPU, maybe it work for you.
""",
]
}
},

]

0 comments on commit f70deca

Please sign in to comment.