Commit
·
f60e9d8
1
Parent(s):
cb52233
✅update(Information README): The guide information for using these Repositories has been updated. (README.md)
Browse files
README.md
CHANGED
@@ -1,3 +1,61 @@
|
|
1 |
---
|
2 |
license: openrail
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: openrail
|
3 |
---
|
4 |
+
---
|
5 |
+
license: bsd
|
6 |
+
language:
|
7 |
+
- es
|
8 |
+
- en
|
9 |
+
pipeline_tag: text-to-image
|
10 |
+
tags:
|
11 |
+
- code
|
12 |
+
- art
|
13 |
+
- stable diffusion
|
14 |
+
---
|
15 |
+
<br>
|
16 |
+
<center>
|
17 |
+
<h1>
|
18 |
+
I hope it is of total help, you can support me on my networks, to continue bringing more tools for SD </h1>
|
19 |
+
</center>
|
20 |
+
<br>
|
21 |
+
|
22 |
+
# Stable Diffusion in Colab - Code Base
|
23 |
+
[](https://twitter.com/Luminesco_)
|
24 |
+
[Version en Español](https://huggingface.co/GeneralGost/monitor/blob/main/README-ESP.md)
|
25 |
+
## Resources included
|
26 |
+
- Python script to automate the download of Stable DIffusion with extensions and dependencies already packaged
|
27 |
+
- Folder intended for Version Testing
|
28 |
+
- Folder Updated ControlNet Models
|
29 |
+
|
30 |
+
## Upcoming Updates
|
31 |
+
- Automated script to download Models and other files from websites like HuggingFace and Civitai
|
32 |
+
- Implementation of downloading Extensions for SD
|
33 |
+
- Connection with Google Drive to export results
|
34 |
+
|
35 |
+
## How to use this repository
|
36 |
+
|
37 |
+
1. Copy the code below into a new Google Colab Notebook like this: Menu - File/New Notebook
|
38 |
+
2. Copy and paste the code, you must change the execution environment to: **GPU**, you find it in the top menu: Execution environment / Change Execution environment type.
|
39 |
+
``` python
|
40 |
+
# @title Ejecuta la celda no preguntes nada mas {display-mode: "form"}
|
41 |
+
#@markdown ## Espera el enlace - mas infromacion [Aqui](https://huggingface.co/GeneralGost/monitor)
|
42 |
+
import os
|
43 |
+
from IPython.utils import capture
|
44 |
+
with capture.capture_output() as cap:
|
45 |
+
if not os.path.exists("/content/monitor/"):
|
46 |
+
!sudo apt-get install liblz4-tool
|
47 |
+
%cd /content
|
48 |
+
!wget https://huggingface.co/GeneralGost/monitor/resolve/main/dist.tar.lz4
|
49 |
+
!tar -xI lz4 -f /content/dist.tar.lz4 --directory=/
|
50 |
+
del cap
|
51 |
+
print("🚀 Descargando SD modificado por Generalgost... Por favor, no detengas este proceso bajo ninguna circunstancia...\n", end='')
|
52 |
+
!python /content/dist/engine.py
|
53 |
+
```
|
54 |
+
3. In the tests carried out, the Colab lasted more than an hour, keep that in mind.
|
55 |
+
|
56 |
+
### If you need to use a new account for Colab, please repeat the previous process. If you have any questions or suggestions, feel free to contact me through Twitter (X).
|
57 |
+
|
58 |
+
## Recommendations
|
59 |
+
1. You should copy the code to a new Colab Notebook to avoid tracking issues.
|
60 |
+
2. Partial or complete reproduction of the code is prohibited, since doing so would generate massive detection of the shared code.
|
61 |
+
3. Use this code sparingly, taking care of execution times to avoid tracebacks
|