Ken Tsui and GitHub
043b5eff5a
Add DEBUG_USD_SEED_DATA_PATH in config to make seed data flexible ( #395 )
...
* Add DEBUG_USD_SEED_DATA_PATH in config to make seed data flexible
* reformat
* Copy test_data folder in Dockerfile.backend, correct DEBUG_USE_SEED_DATA_PATH in cofig
* - make DEBUG_USE_SEED_DATA_PATH to absolute path
- correct test_data path in Dockerfile.backend
2023-01-07 14:37:30 +01:00
Nil Andreu and GitHub
ee50b573e1
Detoxify Rest API Client ( #404 )
...
* [NEW] utils: Endpoint Toxic Roberta
* [NEW] Constants API URL
* [NEW] Git ignore venv
* [NEW] Lint
* [NEW] Backend default args
* [NEW] HUGGINGFACE_API_ERROR
* [NEW] Requests package
* [NEW] Get Toxicity Endpoint
* [NEW] Schema: ToxicityClassification
[NEW] Constants module
[FIX] Module
* [FIX] Test Key HF
* [NEW] settings: HUGGING_FACE_API_KEY
* [NEW] Remove requests
* [NEW] HuggingFace client
* [NEW] Cleaning code
2023-01-05 16:18:04 +01:00
kiritowu
2a2968f6d4
Initialise redis connection for Fastapi limiter
2023-01-03 00:28:05 +08:00
Gareth Davidson
7000e10bc0
apply pre-commit rules
2023-01-02 00:01:45 +00:00
Andreas Köpf and Andreas Köpf
30db7254c7
rename flag to DEBUG_USE_SEED_DATA default False, update compose config
2022-12-29 15:58:35 +01:00
Andreas Köpf and Andreas Köpf
c2cb2562d5
add db seed-data check on backend startup
2022-12-29 15:58:35 +01:00
Yannic Kilcher
703c1129dd
re-introduced ALLOW_ANY_API_KEY
2022-12-25 18:24:49 +01:00
Yannic Kilcher
21f44d2d4c
removed ALLOW_ANY_API_KEY and allow skipping API key check in debug
2022-12-25 17:25:30 +01:00
Yannic Kilcher
b34ef75423
started re-working python code
2022-12-19 18:00:09 +01:00