dataset-tldr / main.py

Commit History

Update CORS origins in main.py
3b354b4

davanstrien HF staff commited on

Add CORS support and update vote endpoint response headers
becbbb8

davanstrien HF staff commited on

Add FastAPI import and update unauthorized response
88c2e3b

davanstrien HF staff commited on

Add validation to the 'vote' field in the Vote model
c892caa

davanstrien HF staff commited on

Add token parameter to CommitScheduler constructor and update authorization response
6ca460a

davanstrien HF staff commited on

Update imports in main.py
6d8e1bf

davanstrien HF staff commited on

Refactor code and update dependencies
3b22eeb

davanstrien HF staff commited on

Add root endpoint redirect to /docs
c0cfc84

davanstrien HF staff commited on

Add asynccontextmanager and lifespan to main.py
6ac4ade

davanstrien HF staff commited on

Update max number of requests to datasets server
94ae8af

davanstrien HF staff commited on

Add language_threshold_percent parameter to predict_rows function
f9987db

davanstrien HF staff commited on

Update main.py
4aeaa3b
verified

davanstrien HF staff commited on

Update FastAPI import to include Query
6d286c3

davanstrien HF staff commited on

Import logging module and reorder imports
fd21f2f

davanstrien HF staff commited on

Refactor code and add type annotations
1b8ac52

davanstrien HF staff commited on

Refactor imports and remove unused code
5a41550

davanstrien HF staff commited on

Add language parsing functionality and update dependencies
bc828c5

davanstrien HF staff commited on

Refactor predict_rows function to include raw predictions
a2d40e3

davanstrien HF staff commited on

Add logging and comment out unused code
76a283e

davanstrien HF staff commited on

Add caching functionality for model download and prediction
d350b44

davanstrien HF staff commited on

Add fastapi.responses and starlette.responses imports
41869c7

davanstrien HF staff commited on

Add HF_HUB_ENABLE_HF_TRANSFER environment variable
f1bc1ad

davanstrien HF staff commited on

Update API endpoint for language prediction
8cdc3f0

davanstrien HF staff commited on

Update dependencies and add Dockerfile
aec7db1

davanstrien HF staff commited on