This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# original: https://gist.github.com/1ort/2fe6214cf1abe4c07087aac8d91d0d8a | |
import imp | |
from operator import truediv | |
import modules.scripts as scripts | |
import gradio as gr | |
import os | |
from modules import images | |
from modules.processing import process_images, Processed, StableDiffusionProcessingImg2Img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding:utf-8 -*- | |
# ************************* | |
# ** Before running this ** | |
# ** code ensure you've ** | |
# ** turned on SPI on ** | |
# ** your Raspberry Pi ** | |
# ** & installed the ** | |
# ** Waveshare library ** |