Update run server command in readme

This commit is contained in:
Alex Reyes 2024-05-03 15:32:35 -04:00 committed by GitHub
parent f71e9cfb26
commit 612df55c06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -125,7 +125,7 @@ npm run dev
Install back-end requirements and start back-end service Install back-end requirements and start back-end service
```bash ```bash
pip install -r requirements.txt pip install -r requirements.txt
python3 main.py --model lama --port 8080 python3 main.py start --model lama --port 8080
``` ```
Then you can visit `http://localhost:5173/` for development. The front-end code will automatically update after being modified, but the back-end needs to restart the service after modifying the python code. Then you can visit `http://localhost:5173/` for development. The front-end code will automatically update after being modified, but the back-end needs to restart the service after modifying the python code.