Merge pull request #519 from alexreyes/main

Update run server command in readme
This commit is contained in:
Qing 2024-05-06 09:43:46 +08:00 committed by GitHub
commit 21f17c8e2a
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.