Introduction
A python script that uses Google Translate and Stable Diffusion to assist people in creating images in their native languages.
Motivation
My wife wanted to describe a picture in the Albanian language.
Getting Started
Let's go
Requirements
python >= 3.7
Install Dependencies
pip install --upgrade git+https://github.com/huggingface/diffusers.git transformers accelerate scipy
pip install -r requirements.txt
Usage
python app.py
Demo
Tips
- In case you receive an error such as
AssertionError: torch not compiled with Cuda enabled
; Install PyTorch-Cuda through conda - Use the Anaconda Prompt to run the python script
Credit
This project depends on the great work done by the following projects & their authors.