April 13, 2024, 10:09 p.m. | Astra Bertelli

DEV Community dev.to




Build a simple image-generating chatbot


Today I'm guiding you through the creation, from scratch, of an image generating chatbot.


We'll doing it following the script I used to build my already existent chatbot, awesome-tiny-sd: make sure to check it out and leave a ⭐ on GitHub!


First of all, we need to install all the necessary packages:



python3 -m pip install gradio==4.25.0 diffusers==0.27.2 torch==2.1.2 pydantic==2.6.4 accelerate transformers trl peft


Once you did that, make sure to set up your …

ai build chatbot check computervision diffusion github image python scratch simple stable diffusion through tutorial

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US