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

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Data Scientist

@ Publicis Groupe | New York City, United States

Bigdata Cloud Developer - Spark - Assistant Manager

@ State Street | Hyderabad, India