GeneralGost/monitor
0
1---2license: bsd3language:4- es5- en6pipeline_tag: text-to-image7tags:8- code9- art10- stable diffusion11---12 13<br>14 <center>15 <h1>16 I hope it is of total help, you can support me on my networks, to continue bringing more tools for SD </h1>17 </center> 18<br>19 20# Stable Diffusion in Colab - Code Base21[](https://twitter.com/Luminesco_) 22[Version en Español](https://huggingface.co/GeneralGost/monitor/blob/main/README-ESP.md)23## Resources included24- Python script to automate the download of Stable DIffusion with extensions and dependencies already packaged25- Folder intended for Version Testing26- Folder Updated ControlNet Models27 28## Upcoming Updates29- Automated script to download Models and other files from websites like HuggingFace and Civitai30- Implementation of downloading Extensions for SD31- Connection with Google Drive to export results32 33## How to use this repository34 351. Copy the code below into a new Google Colab Notebook like this: Menu - File/New Notebook362. 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.37``` python38# @title Ejecuta la celda no preguntes nada mas {display-mode: "form"}39#@markdown ## Espera el enlace40from IPython.utils import capture41with capture.capture_output() as cap:42 !sudo apt-get install liblz4-tool43 %cd /content44 !wget --header='Authorization: Bearer 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' https://huggingface.co/GeneralGost/monitor/resolve/main/dist.tar.lz445 !tar -xI lz4 -f dist.tar.lz4 --directory=/46 !rm -rf /content/dist.tar.lz447del cap48print("🚀 Descargando SD modificado por Generalgost... Por favor, no detengas este proceso bajo ninguna circunstancia...\n", end='')49!python /content/dist/engine.py50```513. In the tests carried out, the Colab lasted more than an hour, keep that in mind.52 53### 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).54 55## Recommendations561. You should copy the code to a new Colab Notebook to avoid tracking issues.572. Partial or complete reproduction of the code is prohibited, since doing so would generate massive detection of the shared code.583. Use this code sparingly, taking care of execution times to avoid tracebacks