- Introduced new image model picker component for selecting models and qualities. - Updated image model utilities to handle new models and quality options. - Implemented backend logic for validating image model options and handling requests. - Added tests for image model selection, quality handling, and API interactions. - Adjusted existing tests to accommodate new model features and ensure compatibility.
13 lines
609 B
JSON
Executable File
13 lines
609 B
JSON
Executable File
{
|
|
"scripts": {
|
|
"frontend:dev": "npm --prefix frontend run dev",
|
|
"frontend:build": "npm --prefix frontend run build",
|
|
"frontend:check": "npm --prefix frontend run check",
|
|
"backend:dev": "granian --interface asgi backend.app.main:app --host 0.0.0.0 --port 9090 --reload",
|
|
"test:contract": ".venv/bin/python -m pytest backend/tests/test_*_contract.py -q",
|
|
"test:e2e": "npm --prefix frontend run test:e2e",
|
|
"test:e2e:perf": "npm --prefix frontend run test:e2e:perf",
|
|
"test:perf": "RUN_PERFORMANCE_TESTS=true .venv/bin/python -m pytest backend/tests/test_performance.py -q"
|
|
}
|
|
}
|