screenshot-to-code/backend
Khajaameen455@ d20f402d89
Update main.py
If load_dotenv() is not called before importing modules that rely on environment variables defined in the .env file, those modules might not be able to access the environment variables correctly. This could lead to errors or unexpected behavior in your code.
2024-02-23 14:31:15 +05:30
..
evals update evals 2024-02-21 09:30:42 -05:00
prompts add an imported code prompt 2024-01-09 08:29:16 -08:00
routes update openAI key missing - error dialog message 2024-01-10 17:16:00 -08:00
.gitignore update gitignore 2024-01-08 14:35:26 -08:00
access_token.py return failure reason to front-end 2023-12-06 10:50:22 -05:00
build.sh add build script for render backend deployment 2023-11-16 19:03:05 -05:00
config.py split main.py into appropriate routes files 2023-12-09 15:46:42 -05:00
Dockerfile simplify dockerfile and update docker-compose to use 7001 2023-11-19 21:39:10 -05:00
image_generation.py strictly type python backend 2023-12-09 15:34:16 -05:00
llm.py strictly type python backend 2023-12-09 15:34:16 -05:00
main.py Update main.py 2024-02-23 14:31:15 +05:30
mock_llm.py strictly type python backend 2023-12-09 15:34:16 -05:00
poetry.lock include type checker 2024-01-08 17:04:59 -08:00
pyproject.toml include type checker 2024-01-08 17:04:59 -08:00
pyrightconfig.json include type checker 2024-01-08 17:04:59 -08:00
README.md include type checker 2024-01-08 17:04:59 -08:00
run_evals.py update evals 2024-02-21 09:30:42 -05:00
start.py upgrade uvicorn dependency and add a backend start python script 2024-01-08 09:35:02 -08:00
utils.py strictly type python backend 2023-12-09 15:34:16 -05:00

Run the type checker

poetry run pyright

Run tests

poetry run pytest