Commit Graph

35 Commits

Author SHA1 Message Date
ZeroCool940711
2e2b35ff71
Fixed issue with new ldm folder requiring the personalization_config to be set even if empty.
Added shutup as a dependency to shutup python warnings for good.
2022-11-26 17:59:34 -07:00
ZeroCool940711
036233db61
Updated diffusers to 0.7.2 2022-11-23 20:00:33 -07:00
ZeroCool940711
4831dac6a8
Added barfi as dependency again to requirements.txt, for some reason it was removed before and was having issues with the UI. 2022-11-14 09:05:52 -08:00
ZeroCool940711
28cee5fcc4
patch: Fixed create-docusaurus not found when installing with conda, it has being moved to the package.json file. 2022-11-09 00:24:51 -08:00
ZeroCool940711
31dccce8eb Fixed streamlit-base-extras not installing properly. 2022-11-04 10:08:35 -07:00
ZeroCool940711
cb8eb0d5a4 feat: Upgraded streamlit from 1.13.0 to 1.14.0 2022-11-02 23:59:48 -07:00
ZeroCool940711
cae492c543 Added streamlit-elements and streamlit-ace to the dependencies list. 2022-11-01 10:24:39 -07:00
ZeroCool940711
f813f0e659 Added pywebview to the requirements. 2022-10-26 18:17:50 -07:00
ZeroCool940711
26045908fc Removed stable-diffusion-videos dependency as we no longer need it, it is part of diffusers now as a custom pipeline. 2022-10-23 11:35:54 -07:00
ZeroCool940711
3e4ea36bc8 Updated diffusers to 0.6.0.
- Renamed max_frames to max_duration_in_seconds in txt2vid to reflect better what the option is currently doing.
2022-10-23 03:12:14 -07:00
ZeroCool940711
2fc7a8817f Added placeholder for the API Server. 2022-10-19 19:55:34 -07:00
Thomas Mello
96148e89d0
revert LDSR installation to be editable (#1549)
# Description

LDSR is once again installed to src to be able to import it inside webui

Closes: #1497
2022-10-19 13:27:20 +03:00
ZeroCool940711
c509a961cb Removed decorest. 2022-10-15 09:32:15 -07:00
ZeroCool940711
6014815bcd Merge remote-tracking branch 'origin/dev' into dev 2022-10-14 22:35:00 -07:00
ZeroCool940711
40bf5ea49b Added decorest dependency. 2022-10-14 22:34:44 -07:00
Thomas Mello
d9a163b1b0
chore: bump Gradio to 3.4.1 (#1520)
* update gradio
* fix some glaring styling issues

Note: the server message has changed and now the address `0.0.0.0:7680`
is shown by default which might not work in browsers. The server is
still accessible through `localhost`/real ip address
2022-10-14 14:54:35 +03:00
ZeroCool940711
c0cb6d0720 Added librosa to the list of dependencies. 2022-10-12 09:41:49 -07:00
ZeroCool940711
67f4c27ea2 Improved hot reloading for some model options like optimized and float16. 2022-10-11 22:33:28 -07:00
ZeroCool940711
84479d88b8 Changed the prompt text_input for a text_area and made it similar in size to the text input. 2022-10-09 03:21:06 -07:00
ZeroCool940711
fe6e72fde7 Added save_video_on_stop option to the Settings page, this option is used to save the txt2vid generated video to disk when we hit the stop button mid generation. 2022-10-07 23:49:19 -07:00
ZeroCool940711
d9b4914406 Moved the pip dependencies from the environment.yaml to the requirements.txt file. 2022-10-07 12:40:06 -07:00
hlky
177e96fea9
Update requirements.txt
Update requirements.txt
2022-10-04 19:59:08 +01:00
hlky
2a30f0828f
ModuleNotFoundError: No module named 'loguru' #1417 2022-10-04 13:01:07 +01:00
hlky
12533944e2
new docker 2022-10-04 12:57:48 +01:00
Thomas Mello
cd1bc79a1b
Revert "Bump numpy from 1.21.5 to 1.22.0" (#1411)
This reverts commit 2d0a4e8e96, reversing
changes made to 1190d8858c.
2022-10-03 20:52:33 +03:00
xaedes
33b896d0cb
Scene-to-Image Prompt Layering System (#1179)
# Summary of the change

- new Scene-to-Image tab
- new scn2img function
- functions for loading and running monocular_depth_estimation with
tensorflow

# Description

(relevant motivation, which issue is fixed)

Related to discussion #925

> Would it be possible to have a layers system where we could do have
foreground, mid, and background objects which relate to one another and
share the style? So we could say generate a landscape, one another layer
generate a castle, and on another layer generate a crowd of people.

To make this work I made a prompt-based layering system in a new
"Scene-to-Image" tab.
You write a a multi-line prompt that looks like markdown, where each
section declares one layer.
It is hierarchical, so each layer can have their own child layers.

Examples: https://imgur.com/a/eUxd5qn
![](https://i.imgur.com/L61w00Q.png)

In the frontend you can find a brief documentation for the syntax,
examples and reference for the various arguments.

Here a short summary:

Sections with "prompt" and child layers are img2img, without child
layers they are txt2img.
Without "prompt" they are just images, useful for mask selection, image
composition, etc.
Images can be initialized with "color", resized with "resize" and their
position specified with "pos".
Rotation and rotation center are "rotation" and "center". 

Mask can automatically be selected by color or by estimated depth based
on https://huggingface.co/spaces/atsantiago/Monocular_Depth_Filter.

![](https://i.imgur.com/8rMHWmZ.png)

# Additional dependencies that are required for this change

For mask selection by monocular depth estimation tensorflow is required
and the model must be cloned to ./src/monocular_depth_estimation/
Changes in environment.yaml:
- einops>=0.3.0
- tensorflow>=2.10.0 

Einops must be allowed to be newer for tensorflow to work.

# 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: hlky <106811348+hlky@users.noreply.github.com>
2022-10-02 18:23:37 +01:00
dependabot[bot]
4cbd390f65
Bump numpy from 1.21.5 to 1.22.0 (#10)
Bumps [numpy](https://github.com/numpy/numpy) from 1.21.5 to 1.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/numpy/numpy/releases">numpy's
releases</a>.</em></p>
<blockquote>
<h2>v1.22.0</h2>
<h1>NumPy 1.22.0 Release Notes</h1>
<p>NumPy 1.22.0 is a big release featuring the work of 153 contributors
spread over 609 pull requests. There have been many improvements,
highlights are:</p>
<ul>
<li>Annotations of the main namespace are essentially complete. Upstream
is a moving target, so there will likely be further improvements,
but the major work is done. This is probably the most user visible
enhancement in this release.</li>
<li>A preliminary version of the proposed Array-API is provided. This is
a step in creating a standard collection of functions that can be
used across application such as CuPy and JAX.</li>
<li>NumPy now has a DLPack backend. DLPack provides a common interchange
format for array (tensor) data.</li>
<li>New methods for <code>quantile</code>, <code>percentile</code>, and
related functions. The
new methods provide a complete set of the methods commonly found in
the literature.</li>
<li>A new configurable allocator for use by downstream projects.</li>
</ul>
<p>These are in addition to the ongoing work to provide SIMD support for
commonly used functions, improvements to F2PY, and better
documentation.</p>
<p>The Python versions supported in this release are 3.8-3.10, Python
3.7
has been dropped. Note that 32 bit wheels are only provided for Python
3.8 and 3.9 on Windows, all other wheels are 64 bits on account of
Ubuntu, Fedora, and other Linux distributions dropping 32 bit support.
All 64 bit wheels are also linked with 64 bit integer OpenBLAS, which
should fix
the occasional problems encountered by folks using truly huge
arrays.</p>
<h2>Expired deprecations</h2>
<h3>Deprecated numeric style dtype strings have been removed</h3>
<p>Using the strings <code>&quot;Bytes0&quot;</code>,
<code>&quot;Datetime64&quot;</code>, <code>&quot;Str0&quot;</code>,
<code>&quot;Uint32&quot;</code>,
and <code>&quot;Uint64&quot;</code> as a dtype will now raise a
<code>TypeError</code>.</p>
<p>(<a
href="https://github-redirect.dependabot.com/numpy/numpy/pull/19539">gh-19539</a>)</p>
<h3>Expired deprecations for <code>loads</code>, <code>ndfromtxt</code>,
and <code>mafromtxt</code> in npyio</h3>
<p><code>numpy.loads</code> was deprecated in v1.15, with the
recommendation that
users use <code>pickle.loads</code> instead. <code>ndfromtxt</code> and
<code>mafromtxt</code> were both
deprecated in v1.17 - users should use <code>numpy.genfromtxt</code>
instead with
the appropriate value for the <code>usemask</code> parameter.</p>
<p>(<a
href="https://github-redirect.dependabot.com/numpy/numpy/pull/19615">gh-19615</a>)</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4adc87dff1"><code>4adc87d</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/numpy/numpy/issues/20685">#20685</a>
from charris/prepare-for-1.22.0-release</li>
<li><a
href="fd66547557"><code>fd66547</code></a>
REL: Prepare for the NumPy 1.22.0 release.</li>
<li><a
href="125304b035"><code>125304b</code></a>
wip</li>
<li><a
href="c283859128"><code>c283859</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/numpy/numpy/issues/20682">#20682</a>
from charris/backport-20416</li>
<li><a
href="5399c03d4a"><code>5399c03</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/numpy/numpy/issues/20681">#20681</a>
from charris/backport-20954</li>
<li><a
href="f9c45f8ebf"><code>f9c45f8</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/numpy/numpy/issues/20680">#20680</a>
from charris/backport-20663</li>
<li><a
href="794b36f7e1"><code>794b36f</code></a>
Update armccompiler.py</li>
<li><a
href="d93b14e3d7"><code>d93b14e</code></a>
Update test_public_api.py</li>
<li><a
href="7662c0789c"><code>7662c07</code></a>
Update <strong>init</strong>.py</li>
<li><a
href="311ab52488"><code>311ab52</code></a>
Update armccompiler.py</li>
<li>Additional commits viewable in <a
href="https://github.com/numpy/numpy/compare/v1.21.5...v1.22.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=numpy&package-manager=pip&previous-version=1.21.5&new-version=1.22.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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/ZeroCool940711/stable-diffusion-webui/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Gil <ZeroCool940711@users.noreply.github.com>
2022-10-01 04:21:44 -07:00
Travis Fletcher
dff2d6e60f
Amd gpu docker (#1366)
# Description
AMD support can be built by prefixing your compose commands with 
`docker compose -f docker-compose.yml -f docker-compose.amd.yml ...`

or, by setting 
```
export COMPOSE_FILE=docker-compose.yml:docker-compose.amd.yml
```
in your `.profile` or through a tool like `direnv`


Closes: Discord #installation-packing:AMD, at least for Linux hosts

# 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-10-01 01:42:35 +03:00
Travis Fletcher
aaa3be16e0
Img2text docker package updates (#1364)
# Description

Docker package sync

Closes: N/A

# 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-30 01:13:21 +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
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
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
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
Travis Fletcher
5bea9a51c4
Fix missing docker package (#1316)
* Fix missing docker package

* Consolidate docker requirements files
2022-09-25 22:14:10 +03:00
Andrew Mo
95a94a8748 Audit dependencies and revise Docker environment specification 2022-09-20 00:21:54 -07:00