Commit Graph

15 Commits

Author SHA1 Message Date
97e0270550 [+] improve typing for worker.py 2025-07-24 10:26:47 +03:00
c4eb8b5568 [+] partially add worker based on huggingface
1. test huggingface manually from IPython;
  1.1. seems to work;
  1.2 put some long text from documentation,
    it has provided some summary;
  1.3. runs in about 40-60 seconds on 3-4 cores CPU;
  1.4. almost made reuse local cache,
    for some reason huggingface still can
    download LFS weights from the public repo;
  2. partially wrapped into worker
    which is to be run as a separate service in docker-compose;
2025-07-23 11:10:13 +03:00
0b5971c4af [+] partially add transform mock
1. researching hugging face model
    https://huggingface.co/sshleifer/distilbart-cnn-12-6?library=transformers
2025-07-22 11:14:18 +03:00
80b5a6a64e [+] update Makefile 2025-07-21 11:25:06 +03:00
bcf300e0c0 [+] update docs, fix url ending 2025-07-21 11:21:44 +03:00
13f5bbc2dd [+] add return type for rest api payloads 2025-07-21 11:19:59 +03:00
ce50a74510 [+] partially add rest api views 2025-07-21 11:17:26 +03:00
f77399b1d2 [+] add ruff
1. add ruff recipies to Makefile;
  2. reformat source code with ruff;
2025-07-18 10:11:28 +03:00
207a8737ba [+] clean async_api
1. comment out not used logic;
  2. remove app.py and websocket_api.py;
2025-07-18 10:07:43 +03:00
c81ee3c4ec [+] fix postgresql environment 2025-07-18 10:04:55 +03:00
d185aaf329 [+] add initial payloads/models.py migration 2025-07-18 09:59:16 +03:00
fe33d5c7f6 [+] rename module folder
1. rename python module folder;
  2. clean up payloads/logic.py;
  3. update partially payloads/alembic/env.py;
2025-07-18 09:55:22 +03:00
0ee9e87b7f [+] update payloads.models 2025-07-18 09:51:05 +03:00
cfdd6b72f0 [+] add requirements 2025-07-17 21:17:41 +03:00
d0ffbeef0f [+] add simple fastapi template
1. rename basic package name;
  2. rewrite requirements into docs/readme.md;
2025-07-17 21:14:07 +03:00