df-gan-text-to-image / README-HF.md
sohanAI's picture
Upload 9 files
76d118b verified

A newer version of the Gradio SDK is available: 5.44.1

Upgrade

DF-GAN Bird Image Generator 🐦

This Hugging Face Space demonstrates the DF-GAN model for generating bird images from text descriptions.

How It Works

  1. Enter a text description of a bird
  2. Select how many images you want to generate (1-4)
  3. Optionally add a random seed for reproducible results
  4. Click "Generate Image"
  5. The model will generate realistic bird images based on your description

Example Descriptions

Try these example descriptions:

  • "this bird has an orange bill, a white belly and white eyebrows"
  • "a small bird with a red head, breast, and belly and black wings"
  • "this bird is yellow with black and has a long, pointy beak"
  • "this is a grey bodied bird with light grey wings and a white breast"

About the Model

The DF-GAN (Deep Fusion GAN) model is a text-to-image synthesis model introduced in the paper "DF-GAN: A Simple and Effective Baseline for Text-to-Image Synthesis" (CVPR 2022). This demo uses the pre-trained bird model that was trained on the CUB-200-2011 dataset.

This demo runs on CPU, so image generation may take a few seconds.

Credits

This Space uses the official implementation of DF-GAN from tobran/DF-GAN.

Made with ❤️ by [Your Name]