df-gan-text-to-image / startup.sh
sohanAI's picture
Upload 7 files
78cabf4 verified
raw
history blame contribute delete
496 Bytes
#!/bin/bash
set -e
echo "Starting DF-GAN Bird Image Generator setup..."
# Install NLTK data
echo "Setting up NLTK data..."
python nltk_setup.py
# Run the download_models.py script to get the models
echo "Downloading model files..."
python download_models.py || {
echo "Warning: Some model files may not have downloaded correctly."
echo "The application will attempt to continue with fallback models."
}
# Start the Gradio app
echo "Starting the web application..."
exec python app.py