Kreshnik / stable-difusion-2-1-multilingual

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Python 100.0%