Skip to content

Latest commit

 

History

History
65 lines (34 loc) · 1.08 KB

readme.md

File metadata and controls

65 lines (34 loc) · 1.08 KB

AI Website Generator

About

This app can generate an HTML page with ChatGPT including images generated by Stablehorde, send it to github and deploy it on vercel

Live Demo

AI Website Generator

Installation

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

Start

flask run

Deployement

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

To do

  • Fix pb on mobile