From bbf65527b1e8dc23fc464738815ab40c205911fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sat, 13 Jun 2026 11:37:13 +0400 Subject: [PATCH] =?UTF-8?q?restructure:=20=D0=BA=D0=BE=D0=B4=20=D0=B2=20si?= =?UTF-8?q?te/,=20=D1=81=D0=BE=D0=B3=D0=BB=D0=B0=D1=81=D0=BD=D0=BE=20?= =?UTF-8?q?=D0=BF=D0=BB=D0=B0=D1=82=D1=84=D0=BE=D1=80=D0=BC=D0=B5=20Flask?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 +++++++++++++++++++++ app.py => site/app.py | 0 {templates => site/templates}/index.html | 0 3 files changed, 21 insertions(+) create mode 100644 README.md rename app.py => site/app.py (100%) rename {templates => site/templates}/index.html (100%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..3005a80 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Contracts App + +Flask-сервис сверки договоров. + +## Что делает + +- Парсит спецификации из docx/pdf в структурированный вид +- Сравнивает цепочки допников, восстанавливает историю изменений +- Сопоставляет услуги с каталогом через LLM + +## Стек + +Flask + PostgreSQL + python-docx + LLM API (aillm.ru) + +## Запуск + +```bash +pip install -r requirements.txt +cp .env.example .env +python app.py +``` diff --git a/app.py b/site/app.py similarity index 100% rename from app.py rename to site/app.py diff --git a/templates/index.html b/site/templates/index.html similarity index 100% rename from templates/index.html rename to site/templates/index.html