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

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US