dhaksesh2006/llm-code-deployment
0
LLM Code Deployment Project
This project is a web service that automates the creation and deployment of web applications. It listens for an API request containing a "brief" (a description of the desired web app), uses an AI model to generate the code, and then automatically pushes the new application to a GitHub repository with GitHub Pages enabled.
Core Technologies
- FastAPI: For creating the web server and API endpoint.
- OpenAI API: To generate the application code and README file.
- PyGithub: To interact with the GitHub API for repository creation and file management.
- Docker: For containerizing the application for deployment on Hugging Face Spaces.
How to Run Locally
- Create a Python virtual environment.
- Install all dependencies from the
requirements.txtfile:
pip install -r requirements.txt- Run the application server using Uvicorn:
uvicorn app.main:app --reload