Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.04 KB

File metadata and controls

39 lines (30 loc) · 1.04 KB

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

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.