Jan. 8, 2024, 10:02 p.m. | Lu Zhenna

Towards AI - Medium pub.towardsai.net

Summary

This article uses Hugging Face DiffusionPipeline to generate images from several popular pre-trained checkpoints, specifically without a GPU. Subsequently, it demonstrates how to make a front-end web app, using both Flask and Streamlit, for users to type a text prompt and then download the generated image.

Target Audience

  • Data scientists who want to learn the difference between Flask and Streamlit.
  • Python developers who want to make web applications that support text input and image file output.

Outline

  1. Run StableDiffusion …

flask generative-art hugging face stable diffusion streamlit

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Data Engineer

@ Kaseya | Bengaluru, Karnataka, India