Commit Graph

1370 Commits

Author SHA1 Message Date
Alejandro Gil
3e40bab7f7
Changed the default streamlit import for hydralit as we will be using hydralit as replacement for the default streamlit library, hydralit provides better control over css as well as having a lot more options. (#1352) 2022-09-28 09:33:54 -07:00
Thomas Mello
3dd798dc1a
chore: update docs (#1351)
* added front matter
* fixed links
* logo is removed until further consideration
2022-09-28 14:18:56 +03:00
Joshua Kimsey
0cc41b903b
Initial overhaul of documentation (#1262)
Added documents for Streamlit and Gradio.
Added new screenshots for each respective version of the UI. Changed
`upscalers` to `image enhancers`.

Documents currently finished:
- linux-installation.md
- image-enhancers.md
- ReadMe

Documents currently still WIP:
- streamlit-interface.md
- gradio-interface.md

Documents still awaiting changes:
- windows-installation.md (I'll need help for this one)
- custom-models.md
- cli.md

Feedback is welcomed and needed on any changes that should happen for
the documents already finished.

(Also fixed small bug with the `webui_streamlit.yaml` file)

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation

Co-authored-by: ZeroCool <ZeroCool940711@users.noreply.github.com>
Co-authored-by: Thomas Mello <work.mello@gmail.com>
2022-09-28 13:13:51 +03:00
Alejandro Gil
7bd785d28f
Bump gradio from 3.3.1 to 3.4 and transformers from 4.22.1 to 4.22.2 (#1348)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 20:34:57 -07:00
hlky
eb374e9084
Update environment.yaml 2022-09-27 22:03:56 +01:00
Alejandro Gil
1f4b564de4
Removed the models in case of OOM so we can reload them. (#1343) 2022-09-27 11:51:17 -07:00
Alejandro Gil
519d7c661f
Added new implementation of the textual inversion page. (#1342) 2022-09-27 11:36:48 -07:00
Travis Fletcher
f4676517d8
Added source to Docker image (#1329)
# Description
This will allow the image to be used outside of the repo (such as in a
service like runpod, or by a novice user who doesn't want to pull the
git repo and instead use `docker run ...`) once we start pushing the
images to Docker Hub.

Closes: Nothing, yet. This is a step in the direction of
`#installation-packing:Docker` in Discord.

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-27 16:07:29 +03:00
ZeroCool
8f2ed2f350
Added message on the text to video tab for specifying how to add the huggingface token if its missing. (#1339)
# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-27 00:57:28 -07:00
ZeroCool
11155b39db
Bump transformers from 4.21.1 to 4.22.1 and pytorch-lightning from 1.7.6 to 1.7.7 (#1338)
# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 23:20:54 -07:00
ZeroCool
6bfb6a57ec
Changed realesrgan dependency to use pip instead. (#1337)
Changed realesrgan dependency to use pip instead of having to clone the
repository on the src folder, this should reduce the amount of stuff
that is on the src folder and that causes issues when updating.

# Checklist:

- [x ] I have changed the base branch to `dev`
- [ x] I have performed a self-review of my own code
2022-09-26 22:44:15 -07:00
ZeroCool
4d1d10bd48
Resolve #1333 -- Fix "TextInv Train Config Improper Load" (#1334)
* Fixed config args being double-loaded and not replacing the defaults.

Closes: #1333

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
2022-09-26 22:03:56 -07:00
ZeroCool
633b761661
Merge branch 'dev' into dev-inv-conf 2022-09-26 21:55:10 -07:00
ZeroCool
382ec7b054
Fixed streamlit not opening on the browser automatically on run. (#1336) 2022-09-26 21:53:55 -07:00
ZeroCool
249ea4b0de
Merge branch 'sd-webui:dev' into dev 2022-09-26 21:53:26 -07:00
ZeroCool940711
fc994081e1 Fixed streamlit not opening on the browser automatically on run. 2022-09-26 21:53:06 -07:00
ZeroCool
1b35fc0bc8
Create dependabot.yml (#1335) 2022-09-26 21:49:35 -07:00
ZeroCool940711
877fb51f50 Removed "naclbit/trinart_stable_diffusion_v2" and "osanseviero/BigGAN-deep-128" from the list of models shown on the txt2vid custom list of models. 2022-09-26 21:49:10 -07:00
ZeroCool
773302af13
Bump realesrgan from 0.2.8 to 0.3.0 (#3)
Bumps [realesrgan](https://github.com/xinntao/Real-ESRGAN) from 0.2.8 to
0.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/xinntao/Real-ESRGAN/releases">realesrgan's
releases</a>.</em></p>
<blockquote>
<h2>Real-ESRGAN v0.3.0 Release Note</h2>
<p>🚀 Long time no see ☄️</p>
<p> <strong>Highlights</strong></p>
<p> <a
href="b827be13a1">add
realesr-general-x4v3 and realesr-general-wdn-x4v3</a>. They are very
tiny models for general scenes, and they may more robust. But as they
are tiny models, their performance may be limited.
 <a
href="576aaddfaf">support
denoise strength for realesr-general-x4v3</a>. You can use the
<strong>-dn</strong> option to adjust the denising strength. Denoise
strength. 0 for weak denoise (keep noise), 1 for strong denoise ability.
Only used for the realesr-general-x4v3 model.
 <a
href="61e81d3108">update
inference_video: support auto download</a>. You do not need to download
models explicitly. If the models are not download, they will be
downloaded automatically.</p>
<p> <a
href="cdc14b74a5">support
ffmpeg stream for inference_realesrgan_video</a>
 <a
href="8cb9bd403e">fix
colorspace bug &amp; support multi-gpu and multi-processing</a>
 <a
href="6b15fc6936">Added
GPU selection feature to python inference</a>
 <a
href="e5e79fbde3">deal
with flv format</a></p>
<p>📢📢📢</p>
<p><a
href="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth">https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth</a></p>
<p><a
href="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth">https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth</a></p>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fa4c8a03ae"><code>fa4c8a0</code></a>
add github release workflow, v0.3.0</li>
<li><a
href="37a7c5726d"><code>37a7c57</code></a>
update readme, v0.2.9</li>
<li><a
href="382d5be582"><code>382d5be</code></a>
Merge branch 'master' of github.com:xinntao/Real-ESRGAN</li>
<li><a
href="61e81d3108"><code>61e81d3</code></a>
update inference_video: support auto download</li>
<li><a
href="8f5744bc51"><code>8f5744b</code></a>
Update README.md - Added Upscayl under GUI Apps list (<a
href="https://github-redirect.dependabot.com/xinntao/Real-ESRGAN/issues/423">#423</a>)</li>
<li>See full diff in <a
href="https://github.com/xinntao/Real-ESRGAN/compare/v0.2.8...v0.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=realesrgan&package-manager=pip&previous-version=0.2.8&new-version=0.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2022-09-26 21:30:38 -07:00
ZeroCool
0078329b64
Merge branch 'dev' into dependabot/pip/realesrgan-0.3.0 2022-09-26 21:28:01 -07:00
Lizardy
62790406bf
Fix --config args
* Fixed config args being double-loaded and not replacing the defaults.
2022-09-26 23:58:41 -04:00
ZeroCool
37142754e1
Update dependabot.yml 2022-09-26 20:50:28 -07:00
dependabot[bot]
dbd0fec05c
Bump realesrgan from 0.2.8 to 0.3.0
Bumps [realesrgan](https://github.com/xinntao/Real-ESRGAN) from 0.2.8 to 0.3.0.
- [Release notes](https://github.com/xinntao/Real-ESRGAN/releases)
- [Commits](https://github.com/xinntao/Real-ESRGAN/compare/v0.2.8...v0.3.0)

---
updated-dependencies:
- dependency-name: realesrgan
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 03:40:12 +00:00
ZeroCool
ce78df3536
Update dependabot.yml 2022-09-26 20:39:33 -07:00
ZeroCool
9c6e7dc173
Create dependabot.yml 2022-09-26 20:37:56 -07:00
Travis Fletcher
f6394a89ca
Fixed Nvidia Docker dependencies (#1327)
1. The update to Streamlit 1.13 has bee mirrored
2. Streamlit needs to be in Headless mode so it doesn't pester about
wanting an email on startup, which crashes in docker since there's no
stdin
3. Fixed an issue where opencv-python from the base image was not
allowing us to override it with opencv-python-headless, which is
required because of its lack of runtime DLLs (+ it's smaller)
2022-09-27 00:42:02 +03:00
hlky
1d59b80af2
Update sync.yml 2022-09-26 17:31:09 +01:00
hlky
85db300f56
Update sync.yml 2022-09-26 17:25:57 +01:00
hlky
994728b5a5
sync workflow 2022-09-26 17:17:52 +01:00
ZeroCool
b1f125ea06
Merge pull request #1323 from ZeroCool940711/dev
Added config.toml file again.
2022-09-26 07:04:15 -07:00
ZeroCool
6db88c4673
Merge branch 'dev' into dev 2022-09-26 07:03:59 -07:00
ZeroCool
32b8714b1d
Delete daisi_app.py 2022-09-26 07:03:33 -07:00
ZeroCool940711
7bd036a279 Added config.toml file again. 2022-09-26 06:53:14 -07:00
ZeroCool940711
b06199ebb6 Added expander for the variant option on txt2vid to reduce the amount of space it uses. 2022-09-26 06:17:50 -07:00
ZeroCool940711
35ec438682 Daisi app fix 4
Added option on the settings page to add your huggingface token.
Daisi app fix 3
Daisi app fix 2
Daisi app fix
2022-09-26 06:08:13 -07:00
hlky
4a15702fe9
License header 2022-09-26 14:02:48 +01:00
ZeroCool
76c098e5eb
Improved the layout of the txt2img and img2img tabs. Moved relevant options to the top and group them together for easy access.
Improved the layout of the txt2img and img2img tabs. Moved relevant options to the top and group them together for easy access.
2022-09-26 05:09:20 -07:00
ZeroCool940711
61e4839a1b Merge remote-tracking branch 'origin/dev' into dev 2022-09-26 05:00:34 -07:00
ZeroCool940711
d940c491a7 - Improved the layout of the UI.
- Moved relevant options to the top and group them together for easy access.
2022-09-26 04:53:34 -07:00
ZeroCool940711
e5e4954aeb Implemented daisi app base loader for the streamlit UI. 2022-09-26 04:39:40 -07:00
ZeroCool940711
2c8ea3d103 Updated the links on the model manager to comply with HuggingFace's TOS. 2022-09-26 04:17:06 -07:00
ZeroCool940711
0d9f3f4947 Added support for running the webui on daisi.io 2022-09-26 02:36:21 -07:00
ZeroCool940711
0b6d0d3b23 The default streamlit theme can now be customized from the UI as well as the UI config file. 2022-09-26 01:24:14 -07:00
ZeroCool940711
632b244337 Removed streamlit config from the repo file as its now possible to edit this from the UI as well as the UI config file and it should be something custom for each installation and not decided by us. 2022-09-26 01:24:14 -07:00
ZeroCool940711
3b4b435768 Added option to enable or disable the streamlit data usage gathering or telemetry. 2022-09-26 01:24:14 -07:00
ZeroCool940711
eb9145000a The default streamlit theme can now be customized from the UI as well as the UI config file. 2022-09-26 01:20:31 -07:00
ZeroCool940711
b410dd4781 Removed streamlit config from the repo file as its now possible to edit this from the UI as well as the UI config file and it should be something custom for each installation and not decided by us. 2022-09-26 01:19:48 -07:00
ZeroCool940711
c37a92c39f Added option to enable or disable the streamlit data usage gathering or telemetry. 2022-09-26 01:12:06 -07:00
ZeroCool940711
3bf7968f3b Merge remote-tracking branch 'origin/dev' into dev 2022-09-26 01:04:15 -07:00
ZeroCool
31336cbaf7
Block Streamlit Usage Stats and Telemetry Gathering
Block Streamlit Usage Stats and Telemetry Gathering
2022-09-25 23:03:49 -07:00