Update README to add info about poetry
This commit is contained in:
parent
4711ac2ab8
commit
4a61f9ea05
@ -2,7 +2,6 @@
|
||||
|
||||
This is a simple app that converts a screenshot to HTML/Tailwind CSS. It uses GPT-4 Vision to generate the code, and DALL-E 3 to generate similar looking images.
|
||||
|
||||
|
||||
https://github.com/abi/screenshot-to-code/assets/23818/6cebadae-2fe3-4986-ac6a-8fb9db030045
|
||||
|
||||
See Examples section below for more demos.
|
||||
@ -17,7 +16,7 @@ See Examples section below for more demos.
|
||||
|
||||
The app has a React/Vite frontend and a FastAPI backend. You will need an OpenAI API key with access to the GPT-4 Vision API.
|
||||
|
||||
Run the backend (make sure you have poetry installed on your system):
|
||||
Run the backend (I use Poetry for package management - `pip install poetry` if you don't have it):
|
||||
|
||||
```bash
|
||||
cd backend
|
||||
@ -50,7 +49,6 @@ Hacker News but it gets the colors wrong at first so we nudge it
|
||||
https://github.com/abi/screenshot-to-code/assets/23818/3fec0f77-44e8-4fb3-a769-ac7410315e5d
|
||||
|
||||
|
||||
|
||||
## Hosted Version
|
||||
|
||||
Hosted version coming soon on [Pico](https://picoapps.xyz?ref=github).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user