Skip to content

A python script that uses Google Translate and Stable Diffusion to assist people in creating images in their native languages.

Notifications You must be signed in to change notification settings

Kreshnik/stable-difusion-2-1-multilingual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A python script that uses Google Translate and Stable Diffusion to assist people in creating images in their native languages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages