This app can generate an HTML page with ChatGPT including images generated by Stablehorde, send it to github and deploy it on vercel
git clone https://github.com/Louvivien/AI-website-generator
cd AI-website-generator
pip install -r requirements.txt
Rename .env.example to .env and
Setup your GITHUB_ACCESS_TOKEN
Setup your OPENAI_API_KEY
Setup your GITHUB_REPO_NAME
Setup your STABLEHORDE_API_KEY
You need to have a vercel account and link it on Vercel to the Github repository you have setup in the .env file Deploying a Git Repository on Vercel
flask run
You can deploy this app on Render:
- Web Service
- Build Command: pip install --upgrade pip && pip install -r requirements.txt
- Start Command: gunicorn app:app --timeout 180
Make sure to update the env variables
- Fix pb on mobile