Batuhan Erenler
3899249ea8
Update env.py
2023-01-06 02:11:27 +03:00
Batuhan Erenler
d405f196fc
Update env.py
2023-01-06 02:09:30 +03:00
Batuhan Erenler
ce343a5aea
Update env.py
2023-01-06 02:06:38 +03:00
Batuhan Erenler
2c08e46e31
Update env.py
...
Fixing trim bugs.
2023-01-05 23:05:41 +03:00
Batuhan Erenler
ec61238711
Update env.py
2023-01-05 22:52:09 +03:00
Batuhan Erenler
4012f7da05
Update env.py
2023-01-05 22:50:22 +03:00
Batuhan Erenler
6f319651c1
Update env.py
...
Here are the improvements that I made:
Imported the logging module and used it to set up the loggers, rather than using the deprecated logging.config.fileConfig function.
Renamed the sqlmodel module to models and imported it correctly.
Changed the # noqa: F401 comment to a more appropriate # Ignore unused import comment.
Added type annotations and docstrings to the functions.
Improved the formatting and added some comments to make the code more readable.
Changed the with context.begin_transaction(): block to use the contextlib.suppress context manager to suppress any exceptions that might be raised, so that the script can gracefully exit in case of an error.
2023-01-05 20:17:37 +03:00
Nil Andreu
739c073328
Session Close when called HuggingFace Client ( #411 )
...
* [FIX] Session Close
* [NEW] Async Context Managers of Response
* [NEW] Linting
2023-01-05 17:49:39 +01:00
Nil Andreu
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
MattAlexMiracle
3dbe0ae1ba
Implement task selection ( #383 )
...
* commented out legacy numerical solver
* added comments and task_scheduling for selecting which task to serve to users
* removed standalone task weighting
* pre-commit hook rerun
Co-authored-by: Alexander Mattick <alex.mattick@fau.de >
2023-01-05 16:14:39 +01:00
jojopirker
894219423d
ER-Diagrams in data_schemas.md ( #367 )
...
* initial er-diagrams
* pre-commit
2023-01-05 12:55:43 +01:00
Keith Stevens
843ea1a01a
Merge pull request #403 from othrayte/web-dashboard-initial-prompt
...
website: Add Create Initial Prompts link to the dashboard
2023-01-05 19:32:05 +09:00
Keith Stevens
64a4c4ab6c
Merge pull request #401 from jojopirker/messagesPage
...
spacing for message dashboard (comment in #375 )
2023-01-05 19:31:35 +09:00
Keith Stevens
38fec237d0
Merge pull request #342 from jack-michaud/jm/contract-tests-for-website
...
refactor + test: add OasstApiClient in website with tests
2023-01-05 19:30:47 +09:00
Yannic Kilcher
43f30925c6
updated logo
2023-01-05 11:05:29 +01:00
Yannic Kilcher
0a0fe2fce2
updated logo
2023-01-05 11:05:07 +01:00
Yannic Kilcher
9686ff6165
updated logo
2023-01-05 11:01:45 +01:00
Yannic Kilcher
cd4e67c7eb
updated logo
2023-01-05 11:01:20 +01:00
Yannic Kilcher
dbedf4ea0d
updated logo
2023-01-05 11:00:26 +01:00
Yannic Kilcher
f85d5705e5
updated logo
2023-01-05 10:59:44 +01:00
Yannic Kilcher
881af7a999
updated readme
2023-01-05 10:58:35 +01:00
Yannic Kilcher
9881b9d8cb
Merge pull request #402 from Jac-Zac/main
...
Starting point to make the documentation more modular and better README.md
2023-01-05 10:57:22 +01:00
Jac-Zac
59fd372063
fixing style
2023-01-05 10:55:06 +01:00
Yannic Kilcher
e3a1239a23
Merge pull request #363 from LAION-AI/257-backend-aws-redis
...
Adding the Redis secret for running the backend on AWS
2023-01-05 10:53:54 +01:00
Adrian Cowan
cb8fec868c
website: Add Create Initial Prompts link to the dashboard.
2023-01-05 20:51:45 +11:00
Jac-Zac
6df5b1f198
adding CONTRIBUTING.md
2023-01-05 10:48:27 +01:00
Jac-Zac
fffac1936a
small fix in readme
2023-01-05 10:39:27 +01:00
jojopirker
ac8ae2652e
spacing for message dashboard
2023-01-05 10:33:35 +01:00
Jac-Zac
cba0925564
prittier readme
2023-01-05 10:33:29 +01:00
Keith Stevens
75e6e72486
Merge pull request #326 from KarthikRaju391/discord-credentials
...
Use Discord Credentials when available
2023-01-05 17:25:50 +09:00
Graeme Harris
c2b6cdb12a
Bugfix #173 - Empty task interactions ( #373 )
...
* Added pydantic checks for interaction protocols
* Small updated to BE API README for redis and guide to local scripts
* isort linting
2023-01-05 09:19:57 +01:00
Karthik Raju
b20526c558
Merge branch 'discord-credentials' of github.com:KarthikRaju391/Open-Assistant into discord-credentials
2023-01-05 12:48:59 +05:30
Karthik Raju
ab434ee79b
remove package-lock.json file from the root folder
2023-01-05 12:46:07 +05:30
AbdBarho
165e87353c
Merge pull request #375 from jojopirker/messagesPage
...
#307 new page to display recent messages
2023-01-05 08:12:30 +01:00
theblackcat102
325c97857c
Merge pull request #313 from bth5032/bth5032/78-blackcat-trainer
...
Bth5032/78 blackcat trainer
2023-01-05 10:50:04 +08:00
theblackcat102
93b2be918e
Merge pull request #347 from LAION-AI/sft-gptjt-qa-labels
...
Sft gptjt qa labels
2023-01-05 10:49:51 +08:00
Bobak Hashemi
061d621953
removed old precommit pragma requirement
2023-01-04 20:51:19 -05:00
Keith Stevens
34ffeb5434
Merge pull request #393 from kostiak/fix-343
...
Fix for #343
2023-01-05 09:28:12 +09:00
Keith Stevens
1c3314365a
Merge pull request #389 from Klotske/fix-dashboard-user-link
...
Fixed broken link in the dashboard
2023-01-05 09:06:31 +09:00
Keith Stevens
4f681c2f34
Merge pull request #378 from chs20/dev
...
Fix dark mode display for some pages
2023-01-05 09:02:24 +09:00
Keith Stevens
086e1a7742
Merge pull request #374 from Klotske/add-report-tooltip
...
#338 - Tooltip for Report button
2023-01-05 08:54:33 +09:00
Klotske
8fab6cfe25
Fixed broken link in the dashboard
2023-01-05 00:50:17 +03:00
Yannic Kilcher
9ce4348263
set rate limit to false while we don't have redis yet
2023-01-04 22:40:31 +01:00
jojopirker
b4034e56e2
moved isLoading
2023-01-04 20:35:20 +01:00
jojopirker
8e61cef81d
added getDashboardLayout
2023-01-04 20:22:06 +01:00
Jack Michaud
695e1f3932
refactor: avoid using Response.clone()
2023-01-04 14:17:02 -05:00
jojopirker
173356929a
removed content-type
2023-01-04 20:09:03 +01:00
jojopirker
efdfb09695
fixed typo
2023-01-04 20:04:26 +01:00
Kostia
96be0edb1e
Fix for #343
2023-01-04 18:58:54 +02:00
chs20
8f4c9637a7
Fix dark mode display for some pages
2023-01-04 16:29:01 +01:00